# mapPoiNearbySearch ^6.2.0
地图周边搜索
# 请求参数
Prop | Type | Required | Default | Description |
---|---|---|---|---|
operation | String | Y | - | 'mapPoiNearbySearch' |
params | Object | Y | {}附表1 | 请求参数 |
- 附表1:
param
参数
Prop | Type | Required | Default | Description |
---|---|---|---|---|
pageIndex | Number | N | 0 | 分页 |
pageCapacity | Number | N | - | 每页个数 |
latitude | Number | N | - | 纬度 |
longitude | Number | N | - | 经度 |
radius | Number | N | - | 半径,单位: 米 |
keyword | String | N | - | 搜索关键字 |
# 接口调用示例
this.$bridge
.mapPoiNearbySearch(param)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
# 返回参数
- 成功时返回
Prop | Type | Default | Description |
---|---|---|---|
status | Object | N/A | 0 失败 / 1 成功 |
poiList | Array | {}附表1 | 响应参数 |
- 失败时返回
Prop | Type | Default | Description |
---|---|---|---|
status | Object | N/A | 0 失败 / 1 成功 |
poiList | Array | {}附表1 | 响应参数 |
- 附表1:
poiList
参数
Prop | Type | Required | Default | Description |
---|---|---|---|---|
name | String | - | - | POI名称 |
uid | String | - | - | POI uid |
address | String | - | - | POI地址 |
city | String | - | - | POI城市 |
phone | String | - | - | POI电话 |
latitude | Number | - | - | 纬度 |
longitude | Number | - | - | 经度 |