提交 0cd9e744 编写于 作者: VK1688's avatar VK1688

Update uni-map-service.md

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