Méthode | Description | |
---|---|---|
__construct ( Http\Client\HttpClient $client, string $rootUrl, string $locale = null ) | ||
geocode ( $address ) | {@inheritDoc} | |
getName ( ) | {@inheritDoc} | |
reverse ( $latitude, $longitude ) | {@inheritDoc} | |
withOpenStreetMapServer ( Http\Client\HttpClient $client, string | null $locale = null ) : |
Méthode | Description | |
---|---|---|
executeQuery ( string $query ) | ||
getGeocodeEndpointUrl ( ) | ||
getNodeValue ( DOMNodeList $element ) | ||
getReverseEndpointUrl ( ) | ||
xmlResultToArray ( DOMElement $resultNode, DOMElement $addressNode ) |
public __construct ( Http\Client\HttpClient $client, string $rootUrl, string $locale = null ) | ||
$client | Http\Client\HttpClient | An HTTP adapter. |
$rootUrl | string | Root URL of the nominatim server |
$locale | string | A locale (optional). |
public static withOpenStreetMapServer ( Http\Client\HttpClient $client, string | null $locale = null ) : |
||
$client | Http\Client\HttpClient | |
$locale | string | null | |
Résultat |