Skip to content

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

readonly url: string

The URL endpoint for the Bing geocoder service


key

readonly key: string

The key for the Bing geocoder service


credit

readonly credit: 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

KBE3D @3.0.0 Copyright © 2024-present KBE3D