searchMapAddress ^6.8
根据模糊地址,返回地图服务的查询结果数据
#请求参数
| Prop |
Type |
Required |
Default |
Comment |
city |
String |
Y |
N/A |
需要查询的城市(范围) 必选 |
keyword |
String |
Y |
N/A |
需要查询的地址 必选 |
#接口调用示例
const params = {
city: '武汉市',
keyword: '花山软件新城',
}
this.$bridge
.searchMapAddress(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#返回参数
| Prop |
Type |
Default |
Description |
status |
Number |
N/A |
0 成功,1 失败 |
resultList |
Array |
N/A |
|
| Prop |
Type |
Default |
Description |
uid |
String |
N/A |
|
key |
String |
N/A |
关键字 |
latitude |
String |
N/A |
纬度 |
district |
String |
N/A |
区 |
city |
String |
N/A |
城市 |
longitude |
String |
N/A |
经度 |