地图WebAPI-地理/逆地理编码
- Description:
地图WebAPI-地理/逆地理编码
- Source:
Methods
(async, inner) geoByGd(address, key) → {Array.<GeocodeGd>}
- Description:
高德地理编码,地址 => 坐标
- Source:
Parameters:
Name | Type | Description |
---|---|---|
address |
string | 结构化地址信息,规则遵循:国家、省份、城市、区县、城镇、乡村、街道、门牌号码、屋邨、大厦,如:北京市朝阳区阜通东大街6号。 |
key |
string | 高德Key,需要自己申请 |
Returns:
高德地理编码查询结果
- Type
- Array.<GeocodeGd>
(async, inner) regeoByGd(pos, key) → {ReGeocodeGd}
- Description:
高德逆地理编码,坐标 => 地址
- Source:
Parameters:
Name | Type | Description |
---|---|---|
pos |
DegreePos | 经纬度坐标,WGS84坐标 |
key |
string | 高德Key,需要自己申请 |
Returns:
高德逆地理编码查询结果
- Type
- ReGeocodeGd