Appearance
KBE3D / KBCore / Cesium / GoogleGeocoderService
类: GoogleGeocoderService
Provides geocoding through Google.
参数
Object with the following properties:
参数
An API key to use with the Google geocoding service
属性
credit
readonlycredit:Credit|undefined
Gets the credit to display after a geocode is performed. Typically this is used to credit the geocoder service.
方法
geocode()
geocode(
query:string):Promise<Result[]>
Get a list of possible locations that match a search string.
参数
query
string
The query to be sent to the geocoder service
返回
Promise<Result[]>
构造函数
构造函数
new GoogleGeocoderService(
options: {key:string; }):GoogleGeocoderService
参数
options
key
string
返回
GoogleGeocoderService
