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.-
Designated initializer.
Declaration
Swift
public init( route: RouteStyle? = nil, routeTrafficIncident: RouteTrafficIncidentStyle? = nil, safetyLocationStyle: SafetyLocationStyle? = nil, destinationConnectionLine: DestinationConnectionLineStyle? = nil )Parameters
routeThe style configuration for the routes.
routeTrafficIncidentThe style configuration for the on-route traffic incidents.
safetyLocationStyleThe style configuration for safety location elements.
destinationConnectionLineThe style configuration for the dotted line connecting drivable and final destinations.
-
The style configuration for the routes.
Declaration
Swift
public let route: RouteStyle -
The style configuration for on-route.
Declaration
Swift
public let routeTrafficIncident: RouteTrafficIncidentStyle -
Style used for a dotted line connecting drivable and final destinations.
Declaration
Swift
public let destinationConnectionLine: DestinationConnectionLineStyle -
The style configuration for safety location elements.
Declaration
Swift
public let safetyLocationStyle: SafetyLocationStyle
TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
StyleConfiguration