RangeVisualizationFactory
public enum RangeVisualizationFactory
Responsible for creating instances of RangeVisualization
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of the default implementation of
RangeVisualization
. Multiple instances ofRangeVisualization
may coexist, each associated with its ownTomTomSDKMapDisplay/TomTomMap
. This is useful, for example, when creating a multiple-screen setup.Declaration
Swift
public static func create( map: TomTomMap, style: RangeVisualizationStyle ) -> RangeVisualization
Parameters
map
The entry point for the map on which the routes will be drawn.
style
The
RangeVisualizationStyle
to be use for the visualization of the ranges.Return Value
An instance of the default implementation of
RangeVisualization
.