通过 Google 提供地理编码。 Provides geocoding through Google.
| 名称 Name | 类型 Type | 说明 Description | ||||||
|---|---|---|---|---|---|---|---|---|
options |
object |
具有以下属性的对象: Object with the following properties:
|
另见: See:
成员 Members
readonly credit : Credit|undefined
获取执行地理编码后要显示的信用。通常,这用于记入地理编码器服务。 Gets the credit to display after a geocode is performed. Typically this is used to credit the geocoder service.
方法 Methods
geocode(query) → Promise.<Array.<GeocoderService.Result>>
获取与搜索字符串匹配的可能位置的列表。 Get a list of possible locations that match a search string.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
query |
string | 要发送到地理编码器服务的查询 The query to be sent to the geocoder service |
