RoutingVisualizationFactory
public enum RoutingVisualizationFactory
Responsible for creating instances of RoutingVisualization
.
-
Creates an instance of the default implementation of
RoutingVisualization
. Multiple instances ofRoutingVisualization
may coexist, each associated with its ownTomTomSDKMapDisplay.TomTomMap
instances. This is useful, for example, when creating a multiple-screen setup.Declaration
Swift
public static func create( map: TomTomMap, styleConfiguration: StyleConfiguration ) -> RoutingVisualization
Parameters
map
The entry point for the map on which the routes will be drawn.