CoreConstants
public enum CoreConstants
-
Determines whether the itinerary should be recalculated during navigation.
Default is
true
Declaration
Swift
public static var itineraryRecalculationEnabled: Bool
-
Determines whether user location should be projected onto itinerary during navigation.
This value affects not only visual representation of user location indicator on the map, but it also affect distance and duration calculations of navigation info.
If
userLocationProjectionOnItineraryEnabled
istrue
- user location and origin projections will be excluded from itinerary distance and duration calculation of navigation infoif
userLocationProjectionOnItineraryEnabled
isfalse
- user location and origin projections will be included into itinerary distance and duration calculation of navigation infoDefault is
true
Declaration
Swift
public static var userLocationProjectionOnItineraryEnabled: Bool