Skip to content

Commit

Permalink
docs: update map
Browse files Browse the repository at this point in the history
  • Loading branch information
dcloudhdx committed Mar 26, 2020
1 parent c58edd7 commit 3b6eecf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api/location/map.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ mapContext
|方法|参数|说明|平台差异说明|最低版本|
|:-|:-|:-|:-|:-|
|getCenterLocation|OBJECT|获取当前地图中心的经纬度,返回的是 gcj02 坐标系,可以用于 [uni.openLocation](api/location/location?id=getlocation)|||
|moveToLocation||将地图中心移动到当前定位点,需要配合map组件的show-location使用|||
|moveToLocation|OBJECT|将地图中心移动到当前定位点,需要配合map组件的show-location使用|||
|translateMarker|OBJECT|平移marker,带动画|app-nvue 2.1.5+、微信小程序带动画||
|includePoints|OBJECT|缩放视野展示所有经纬度|app-nvue 2.1.5+||
|getRegion|OBJECT|获取当前地图的视野范围|||
Expand All @@ -48,8 +48,8 @@ mapContext

|参数 |类型 |必填 |说明 |
|:- |:- |:- |:- |
|longitude|Number ||经度 ,仅微信小程序 2.8.0+ 支持 |
|latitude |Number ||纬度 ,仅微信小程序 2.8.0+ 支持 |
|longitude|Number ||经度 ,App 2.6.8、H5、仅微信小程序 2.8.0+ 支持 |
|latitude |Number ||纬度 ,App 2.6.8、H5、仅微信小程序 2.8.0+ 支持 |
|success |Function ||接口调用成功的回调函数 ,res = { longitude: "经度", latitude: "纬度"}|
|success |Function ||接口调用成功的回调函数 ,res = { longitude: "经度", latitude: "纬度"}|
|fail |Function ||接口调用失败的回调函数 |
Expand Down

0 comments on commit 3b6eecf

Please sign in to comment.