RoutingVisualizationFactory

public enum RoutingVisualizationFactory

Creates instances of RoutingVisualization.

  • Creates an instance of the default implementation of RoutingVisualization. Multiple instances of RoutingVisualization may coexist, each associated with its own TomTomSDKMapDisplay/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.

    styleConfiguration

    The style configuration for the elements of the navigation visualization.

    Return Value

    An instance of RoutingVisualization.