PHP 클래스 Geocoder\Provider\IpInfoDb

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

공개 메소드들

메소드 설명
__construct ( Http\Client\HttpClient $client, string $apiKey, string $precision = 'city' )
geocode ( $address ) {@inheritDoc}
getName ( ) {@inheritDoc}
reverse ( $latitude, $longitude ) {@inheritDoc}

비공개 메소드들

메소드 설명
executeQuery ( string $query ) : Geocoder\Model\AddressCollection

메소드 상세

__construct() 공개 메소드

public __construct ( Http\Client\HttpClient $client, string $apiKey, string $precision = 'city' )
$client Http\Client\HttpClient An HTTP adapter.
$apiKey string An API key.
$precision string The endpoint precision. Either "city" or "country" (faster)

geocode() 공개 메소드

{@inheritDoc}
public geocode ( $address )

getName() 공개 메소드

{@inheritDoc}
public getName ( )

reverse() 공개 메소드

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