Provides geocoding through Bing Maps.
参数名称 | 类型 | 描述信息 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Object with the following properties:
|
成员(属性)
readonly credit : Credit|undefined
Gets the credit to display after a geocode is performed. Typically this is used to credit
the geocoder service.
The key for the Bing geocoder service
The URL endpoint for the Bing geocoder service
方法
geocode(query) → Promise.<Array.<GeocoderService.Result>>
参数名称 | 类型 | 描述信息 |
---|---|---|
query |
string | The query to be sent to the geocoder service |