RoutingVisualizationFactory
public enum RoutingVisualizationFactory
A factory for creating instances of RoutingVisualization
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes the routing visualization with the given map and style configuration.
Declaration
Swift
public static func createRoutingVisualization( map: TomTomMap, styleConfiguration: StyleConfiguration ) -> RoutingVisualization
Parameters
map
The
TomTomMap
instance for displaying routes and traffic incidents.styleConfiguration
The
StyleConfiguration
instance that provides styling for route visualization elements.Return Value
An instance of the
RoutingVisualization
configured with the provided map and style configuration.