提交 f9ad09a3 编写于 作者: lizhongyi_'s avatar lizhongyi_

Merge branch 'master' of https://gitcode.net/dcloud/unidocs-zh

...@@ -290,7 +290,7 @@ console.log("result", result); ...@@ -290,7 +290,7 @@ console.log("result", result);
|  |-- city |String |地址 |腾讯地图 | |  |-- city |String |地址 |腾讯地图 |
|  |-- address |String |地点所在城市名称 |腾讯地图 | |  |-- address |String |地点所在城市名称 |腾讯地图 |
### 路线规划(驾车/步行/骑行/电动车/公交)@routePlan ### 路线规划(驾车/步行/骑行/电动车/公交)@route
**示例** **示例**
...@@ -302,7 +302,7 @@ let uniMapService = new UniMapService({ ...@@ -302,7 +302,7 @@ let uniMapService = new UniMapService({
provider: "qqmap", // 指定使用哪家地图供应商 provider: "qqmap", // 指定使用哪家地图供应商
}); });
// 调用API // 调用API
let result = await uniMapService.routePlan({ let result = await uniMapService.route({
mode: "driving", mode: "driving",
from: "40.034852,116.319820", from: "40.034852,116.319820",
to: "39.771075,116.351395" to: "39.771075,116.351395"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册