通过 Bing 地图提供地理编码。 Provides geocoding through Bing Maps.
| 名称 Name | 类型 Type | 说明 Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
具有以下属性的对象: Object with the following properties:
|
成员 Members
readonly credit : Credit|undefined
获取执行地理编码后要显示的信用。通常,这用于记入地理编码器服务。 Gets the credit to display after a geocode is performed. Typically this is used to credit the geocoder service.
Bing 地理编码器服务的密钥 The key for the Bing geocoder service
Bing 地理编码器服务的 URL 端点 The URL endpoint for the Bing geocoder service
方法 Methods
geocode(query) → Promise.<Array.<GeocoderService.Result>>
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
query |
string | 要发送到地理编码器服务的查询 The query to be sent to the geocoder service |
