From a1caa9e8300e092a5092668458664f44f79ff5b1 Mon Sep 17 00:00:00 2001 From: mehaotian <490272692@qq.com> Date: Mon, 23 Mar 2020 20:16:23 +0800 Subject: [PATCH] =?UTF-8?q?docs=20:=20=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=20=20moveToLocation=20=E6=94=AF=E6=8C=81=E4=BC=A0?= =?UTF-8?q?=E5=85=A5=E7=BB=8F=E7=BA=AC=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/location/map.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/api/location/map.md b/docs/api/location/map.md index 05d3d12b0..dc1bcfc2e 100644 --- a/docs/api/location/map.md +++ b/docs/api/location/map.md @@ -42,6 +42,19 @@ mapContext |success|Function|否|接口调用成功的回调函数 ,res = { longitude: "经度", latitude: "纬度"}| |fail|Function|否|接口调用失败的回调函数| |complete|Function|否|接口调用结束的回调函数(调用成功、失败都会执行)| + + +**moveToLocation 的 OBJECT 参数列表** + +|参数 |类型 |必填 |说明 | +|:- |:- |:- |:- | +|longitude|Number |否 |经度 ,仅微信小程序 2.8.0+ 支持 | +|latitude |Number |否 |纬度 ,仅微信小程序 2.8.0+ 支持 | +|success |Function |否 |接口调用成功的回调函数 ,res = { longitude: "经度", latitude: "纬度"}| +|success |Function |否 |接口调用成功的回调函数 ,res = { longitude: "经度", latitude: "纬度"}| +|fail |Function |否 |接口调用失败的回调函数 | +|complete |Function |否 |接口调用结束的回调函数(调用成功、失败都会执行) | + **translateMarker 的 OBJECT 参数列表** -- GitLab