PHP Class Geocoder\Provider\ArcGISOnline

Author: ALKOUM Dorian ([email protected])
Inheritance: extends AbstractHttpProvider, implements Geocoder\Provider\Provider
Show file Open project: willdurand/geocoder Class Usage Examples

Public Methods

Method Description
__construct ( Http\Client\HttpClient $client, string $sourceCountry = null, boolean $useSsl = false )
geocode ( $address ) {@inheritDoc}
getName ( ) {@inheritDoc}
reverse ( $latitude, $longitude ) {@inheritDoc}

Private Methods

Method Description
buildQuery ( string $query )
executeQuery ( string $query )

Method Details

__construct() public method

public __construct ( Http\Client\HttpClient $client, string $sourceCountry = null, boolean $useSsl = false )
$client Http\Client\HttpClient An HTTP adapter
$sourceCountry string Country biasing (optional)
$useSsl boolean Whether to use an SSL connection (optional)

geocode() public method

{@inheritDoc}
public geocode ( $address )

getName() public method

{@inheritDoc}
public getName ( )

reverse() public method

{@inheritDoc}
public reverse ( $latitude, $longitude )