From 18f44a898a73f3256abbd3a87460e9fc011dcd89 Mon Sep 17 00:00:00 2001 From: handongxun Date: Mon, 22 Nov 2021 11:34:26 +0800 Subject: [PATCH] =?UTF-8?q?map=20API=20=E8=A1=A5=E5=85=85=20moveAlong=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E7=9A=84=E5=8F=82=E6=95=B0=E5=B1=9E=E6=80=A7?= 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 8b4bd9861..f6f621f9b 100644 --- a/docs/api/location/map.md +++ b/docs/api/location/map.md @@ -172,6 +172,19 @@ mapContext |complete |function | |否 |接口调用结束的回调函数(调用成功、失败都会执行) | +**moveAlong 的 OBJECT 参数列表** + +|属性 |类型 |默认值 |必填 |说明 | +|:- |:- |:- |:- |:- | +|markerId |Number | |是 |指定 marker | +|path |Array | |是 |移动路径的坐标串,坐标点格式 {longitude, latitude} | +|autoRotate |boolean |true |否 |根据路径方向自动改变 marker 的旋转角度 | +|duration |number | |是 |平滑移动的时间 | +|success |function | |否 |接口调用成功的回调函数 | +|fail |function | |否 |接口调用失败的回调函数 | +|complete |function | |否 |接口调用结束的回调函数(调用成功、失败都会执行) | + + **MapContext.on()** (app-nvue、微信小程序支持) `markerClusterCreate` -- GitLab