Constructor
new GaodePOIGeocoder(optionsopt)
类构造
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
带有以下属性的对象: Properties
|
Classes
Methods
geocode(query) → {Object}
根据关键字获取位置信息
Parameters:
Name | Type | Description |
---|---|---|
query |
String | 查询条件 输入关键字 |
Returns:
显示名称,坐标信息
- Type
- Object
getOneKey() → {String}
随机获取key
Returns:
val 随机获取key
- Type
- String