Commit 68145120705658918dac00a72c469dc5fc1475be
1 parent
7c94d21c
封装地图路线规划bug修复
Showing
1 changed file
with
3 additions
and
0 deletions
lib/src/types.ts
@@ -155,6 +155,9 @@ export enum RouteType { | @@ -155,6 +155,9 @@ export enum RouteType { | ||
155 | * 路线规划参数 | 155 | * 路线规划参数 |
156 | */ | 156 | */ |
157 | export interface RouteProps { | 157 | export interface RouteProps { |
158 | + /** | ||
159 | + * 出行方式(目前只实现了驾车) | ||
160 | + */ | ||
158 | type: RouteType; | 161 | type: RouteType; |
159 | /** | 162 | /** |
160 | * 起点 | 163 | * 起点 |