Other Global Variables
The following global variables are available globally.
-
A stop dictionary representing the default line widths of the route line by zoom level when
NavigationMapViewDelegate.navigationMapView(_:routeStyleLayerWithIdentifier:source:)is undefined.You may use this constant in your implementation of
NavigationMapViewDelegate.navigationMapView(_:routeStyleLayerWithIdentifier:source:)if you want to keep the default line widths but customize other aspects of the route line.Declaration
Swift
public var RouteLineWidthByZoomLevel: [Double : Double] -
Attribute name for the route line that is used for identifying whether a RouteLeg is the current active leg.
Declaration
Swift
public let CurrentLegAttribute: String -
Attribute name for the route line that is used for identifying different
CongestionLevelalong the route.Declaration
Swift
public let CongestionAttribute: String
Install in Dash
Other Global Variables Reference