Constants

nominatim_apiURL

nominatim_apiURL

photon_apiURL

photon_apiURL

Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

getAddress()

getAddress(float  $latitude, float  $longitude) : \array(label,

Get address using latitude/longitude

Parameters

float $latitude
float $longitude

Returns

\array(label, —

components)

getAddresse_helper()

getAddresse_helper(float  $latitude, float  $longitude) : \array(label,

Get possible addresses using latitude/longitude

Parameters

float $latitude
float $longitude

Returns

\array(label, —

street, streetNumber, city, cityLocal, zip, country, countryLabel)

getCoordinates()

getCoordinates(  $street = null,   $streetNumber = null,   $city = null,   $zip = null,   $country = null) : array

Get coordinates latitude/longitude

Parameters

$street
$streetNumber
$city
$zip
$country

Returns

array —

The latitude/longitude coordinates

getAutocompleteResult()

getAutocompleteResult(  $input = '',   $language = 'en') 

Parameters

$input
$language

doCall()

doCall(array  $parameters = array(),   $engine = "nominatim",   $type = "normal") : object

Do call

Parameters

array $parameters
$engine
$type

Returns

object