NavigationVisualizationFactory
public enum NavigationVisualizationFactory
Responsible for creating instances of NavigationVisualization
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
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: Navigation, 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.