PHP 클래스 Geocoder\Provider\Geonames

저자: Giovanni Pirrotta ([email protected])
상속: extends AbstractHttpProvider, implements Geocoder\Provider\LocaleAwareProvider, use trait Geocoder\Provider\LocaleTrait
파일 보기 프로젝트 열기: willdurand/geocoder 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Http\Client\HttpClient $client, string $username, string $locale = null )
geocode ( $address ) {@inheritDoc}
getName ( ) {@inheritDoc}
reverse ( $latitude, $longitude ) {@inheritDoc}

비공개 메소드들

메소드 설명
executeQuery ( string $query )

메소드 상세

__construct() 공개 메소드

public __construct ( Http\Client\HttpClient $client, string $username, string $locale = null )
$client Http\Client\HttpClient An HTTP adapter
$username string Username login (Free registration at http://www.geonames.org/login)
$locale string A locale (optional)

geocode() 공개 메소드

{@inheritDoc}
public geocode ( $address )

getName() 공개 메소드

{@inheritDoc}
public getName ( )

reverse() 공개 메소드

{@inheritDoc}
public reverse ( $latitude, $longitude )