public static abstract @interface
RoutingOptions.RoutingStrategy
implementation
Annotation
路由策略指定路由的排名方式,排名方式会影响最初选择的路由以及重新路由期间选择的路由。默认值为 DEFAULT_BEST
。
常量摘要
int | DEFAULT_BEST | 按 NavSDK 的默认费用模型对路线进行排名。 |
int | 简短一点 | 按距离对路线进行排名,由最短时间排在最前面 |
继承的方法摘要
常量
public static final int DEFAULT_BEST
按 NavSDK 的默认费用模型对路线进行排名。这是导航的默认路由策略。
常量值:
0
public static final int 简短版本
按距离对路线进行排名,由最短时间排在最前面
常量值:
1