高德地图SDK(导航) V11.2.1501
Loading...
Searching...
No Matches
AMapNaviOptimalRouteParam Class Reference

#include <AMapNaviOptimalRouteParam.h>

Inheritance diagram for AMapNaviOptimalRouteParam:

Properties

CGFloat distanceToNextTurn
 
CGFloat distanceToCongestion
 
NSInteger congestionTime
 
NSInteger timeFrequency
 
AMapNaviOptimalRouteSortStrategy sortStrategy
 
CGFloat similityThreshold
 
CGFloat timeWeight
 
CGFloat distanceWeight
 
CGFloat tollWeight
 

Property Documentation

◆ congestionTime

- (NSInteger) congestionTime
readwritenonatomicassign

前方拥堵时间默认值10分钟 ; 有效值 [10, INT_MAX] The default congestion time ahead is 10 minutes; Valid value [10, INT-MAX] MPID路线还原失败时使用此值 Use this value when MPID route restoration fails

◆ distanceToCongestion

- (CGFloat) distanceToCongestion
readwritenonatomicassign

距离拥堵距离 默认值1 km ; 有效值[1,5] The default distance from congestion is 1 km; Effective values [1,5] MPID路线还原失败时使用此值 Use this value when MPID route restoration fails

◆ distanceToNextTurn

- (CGFloat) distanceToNextTurn
readwritenonatomicassign

距离转向距离 默认值1 km ; 有效值[1,5] ///The default distance for turning is 1 km; Effective values [1,5] MPID路线还原成功时使用此值 ///Use this value when MPID route restoration is successful

◆ distanceWeight

- (CGFloat) distanceWeight
readwritenonatomicassign

距离系数权重 默认值0.3 ;有效值[0,1] The default value for distance coefficient weight is 0.3; Effective values [0,1]

◆ similityThreshold

- (CGFloat) similityThreshold
readwritenonatomicassign

相似度设定的阈值,默认值0.5 ; 有效 (0, 1] The threshold for similarity setting, with a default value of 0.5; Effective (0,1)

◆ sortStrategy

- (AMapNaviOptimalRouteSortStrategy) sortStrategy
readwritenonatomicassign

导航中动态算路排序策略: 默认值为 AMapNaviOptimalRouteSortStrategyBySimilarity 排序只能选择其中“一种”方式: ■ 开发者可选择“排序”方式;在不设置的情况下,默认选择相似度系数; ■ 路线“还原失败”情况:不管外部是否设置 使用 “路线相似度” 比较逻辑,均使用权重系数; Dynamic route sorting strategy in navigation: default value is AMapNaviOptimalRouteSortStrategyBySimilarity Sorting can only select one of the following methods: Developers can choose the "sorting" method; If not set, the default selection is similarity coefficient; ■ Route "restoration failure" situation: Regardless of whether the external setting uses the "route similarity" comparison logic, weight coefficients are used;

◆ timeFrequency

- (NSInteger) timeFrequency
readwritenonatomicassign

时间间隔内只允许触发一次更优路线算路: 默认为10分钟;有效值 [10, 120] Only one optimal route calculation can be triggered within a time interval: default is 10 minutes; Effective values [10, 120]

◆ timeWeight

- (CGFloat) timeWeight
readwritenonatomicassign

时间系数权重 默认值0.5 ; 有效值[0,1] The default value of time coefficient weight is 0.5; Effective values [0,1]

◆ tollWeight

- (CGFloat) tollWeight
readwritenonatomicassign

费用系数权重 默认值0.2 ;有效值[0,1] The default value of cost coefficient weight is 0.2; Effective values [0,1]


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。