MultiRangeStyle
public struct MultiRangeStyle
Style of the multi range visualization.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes the multi range visualization style.
Declaration
Swift
public init( overlayStyle: OverlayStyle = Default.overlayStyle, rangeStyles: [String: RangeStyle] = Default.rangeStyles, defaultRangeStyle: RangeStyle = Default.defaultRangeStyle )Parameters
overlayStyleOverlay style.
rangeStylesA dictionary where each name of polygon corresponds to some style. Reachable range contains multiple nested polygons. Using this dictionary, for each polygon we can get the corresponding style.
defaultRangeStyleFallback style to use when a named polygon is not handled by
MultiRangeStyle.rangeStylesstyle map.
-
Style of the overlay.
Declaration
Swift
public let overlayStyle: OverlayStyle -
A dictionary where each name of polygon corresponds to some style. Reachable range contains multiple nested polygons. Using this dictionary, for each polygon we can get the corresponding style.
Declaration
Swift
public let rangeStyles: [String : RangeStyle] -
Fallback style to use when a named polygon is not handled by
MultiRangeStyle.rangeStylesstyle map.Declaration
Swift
public let defaultRangeStyle: RangeStyle
TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
MultiRangeStyle