StyleConfiguration

public struct StyleConfiguration

Represents a style configuration for the elements of the routing visualization. When no arguments are provided to the constructor, it constructs the default style configuration.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Designated initializer.

    Declaration

    Swift

    public init(
        route: RouteStyle? = nil,
        routeTrafficIncident: RouteTrafficIncidentStyle? = nil,
        destinationConnectionLine: DestinationConnectionLineStyle? = nil
    )

    Parameters

    route

    The style configuration for the routes.

    routeTrafficIncident

    The style configuration for the on-route traffic incidents.

    destinationConnectionLine

    The style configuration for the dotted line connecting drivable and final destinations.

Public