Appearance
KBE3D / KBCore / Cesium / BingMapsGeocoderService
类: BingMapsGeocoderService
Provides geocoding through Bing Maps.
参数
Object with the following properties:
参数
A key to use with the Bing Maps geocoding service
参数
A Bing Maps Culture Code to return results in a specific culture and language.
属性
url
readonlyurl:string
The URL endpoint for the Bing geocoder service
key
readonlykey:string
The key for the Bing geocoder 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[]>
参数
query
string
The query to be sent to the geocoder service
返回
Promise<Result[]>
构造函数
构造函数
new BingMapsGeocoderService(
options: {key:string;culture?:string; }):BingMapsGeocoderService
参数
options
key
string
culture?
string
返回
BingMapsGeocoderService
