StyleConfiguration

class StyleConfiguration(val route: RouteStyle = RouteStyle(), val routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle(), var safetyLocationStyle: SafetyLocationStyle = SafetyLocationStyle(), val destinationConnectionLineStyle: DestinationConnectionLineStyle = DestinationConnectionLineStyle(), val betterRouteStyle: BetterRouteStyle = BetterRouteStyle())

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.

Constructors

Link copied to clipboard
constructor(route: RouteStyle = RouteStyle(), routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle(), safetyLocationStyle: SafetyLocationStyle = SafetyLocationStyle(), destinationConnectionLineStyle: DestinationConnectionLineStyle = DestinationConnectionLineStyle(), betterRouteStyle: BetterRouteStyle = BetterRouteStyle())

Properties

Link copied to clipboard

The style configuration for the better route proposals.

Link copied to clipboard

The style configuration for the line between the final destination point and final navigable point.

Link copied to clipboard

The style configuration for the routes.

Link copied to clipboard

The style configuration for the on-route traffic incidents.

Link copied to clipboard

The style configuration used to display safety locations.