PHP Class Geocoder\Geocoder

Author: William Durand ([email protected])
Inheritance: implements geocoder\GeocoderInterface
Afficher le fichier Open project: willdurand/geocoder Class Usage Examples

Méthodes publiques

Méthode Description
geocode ( string $value ) : Geocoder\Model\AddressCollection Geocodes a given value.
getLimit ( ) : integer Returns the maximum number of Address objects that can be returned by geocode() or reverse() methods.
limit ( integer $limit ) : Geocoder Sets the maximum number of Address objects that can be returned by geocode() or reverse() methods.
reverse ( double $latitude, double $longitude ) : Geocoder\Model\AddressCollection Reverses geocode given latitude and longitude values.

Method Details

geocode() public méthode

Geocodes a given value.
public geocode ( string $value ) : Geocoder\Model\AddressCollection
$value string
Résultat Geocoder\Model\AddressCollection

getLimit() public méthode

Returns the maximum number of Address objects that can be returned by geocode() or reverse() methods.
public getLimit ( ) : integer
Résultat integer

limit() public méthode

Sets the maximum number of Address objects that can be returned by geocode() or reverse() methods.
public limit ( integer $limit ) : Geocoder
$limit integer
Résultat Geocoder

reverse() public méthode

Reverses geocode given latitude and longitude values.
public reverse ( double $latitude, double $longitude ) : Geocoder\Model\AddressCollection
$latitude double
$longitude double
Résultat Geocoder\Model\AddressCollection