Méthode | Description | |
---|---|---|
__construct ( Http\Client\HttpClient $client, string $apiKey, string $precision = 'city' ) | ||
geocode ( $address ) | {@inheritDoc} | |
getName ( ) | {@inheritDoc} | |
reverse ( $latitude, $longitude ) | {@inheritDoc} |
Méthode | Description | |
---|---|---|
executeQuery ( string $query ) : Geocoder\Model\AddressCollection |
public __construct ( Http\Client\HttpClient $client, string $apiKey, string $precision = 'city' ) | ||
$client | Http\Client\HttpClient | An HTTP adapter. |
$apiKey | string | An API key. |
$precision | string | The endpoint precision. Either "city" or "country" (faster) |