NavigationVisualizationFactory
public enum NavigationVisualizationFactory
Creates instances of NavigationVisualization
.
-
Creates an instance of the default implementation of
NavigationVisualization
Multiple instances of
NavigationVisualization
may coexist, each associated with its ownTomTomSDKMapDisplay/TomTomMap
andTomTomSDKNavigation/Navigation
instances. This is useful, for example, when creating a multiple-screen setup.Declaration
Swift
public static func create( map: TomTomMap, navigation: TomTomNavigation, styleConfiguration: StyleConfiguration = StyleConfiguration() ) -> NavigationVisualization
Parameters
map
The entry point for the map on which the routes are drawn.
navigation
The style configuration for the elements of the navigation visualization.
styleConfiguration
The data store object used to retrieve lane geometry.
Return Value
The entry point for interacting with and customizing navigation.