StyleConfiguration
public struct StyleConfiguration
Represents a style configuration for the elements of the navigation 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, routeTraffic: RouteTrafficIncidentStyle? = nil, horizonStyle: HorizonStyle? = nil, destinationConnectionLine: DestinationConnectionLineStyle? = nil )
Parameters
route
Style used for route styling.
routeTraffic
Style used for route traffic incidents.
horizonStyle
Style used for horizon elements styling.
destinationConnectionLine
Style used for a 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 traffic.
Declaration
Swift
public let routeTraffic: RouteTrafficIncidentStyle
-
The style configuration for horizon elements.
Declaration
Swift
public let horizonStyle: HorizonStyle
-
Style used for a dotted line connecting drivable and final destinations.
Declaration
Swift
public let destinationConnectionLine: DestinationConnectionLineStyle