Method | Description | |
---|---|---|
__construct ( Http\Client\HttpClient $client, string $apiKey, boolean $useSsl = false, string | null $locale = null ) | ||
geocode ( $address ) | ||
getName ( ) | ||
reverse ( $latitude, $longitude ) |
Method | Description | |
---|---|---|
guessBestComponent ( array $components, array $keys ) : null | string | ||
guessLocality ( array $components ) : null | string | ||
guessStreetName ( array $components ) : null | string | ||
guessSubLocality ( array $components ) : null | string |
Method | Description | |
---|---|---|
executeQuery ( $query ) : Geocoder\Model\AddressCollection |
public __construct ( Http\Client\HttpClient $client, string $apiKey, boolean $useSsl = false, string | null $locale = null ) | ||
$client | Http\Client\HttpClient | An HTTP adapter. |
$apiKey | string | An API key. |
$useSsl | boolean | Whether to use an SSL connection (optional). |
$locale | string | null | A locale (optional). |