메소드 | 설명 | |
---|---|---|
__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 ) : |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 |