StyleConfiguration

class StyleConfiguration(val route: RouteStyle = RouteStyle(), val routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle(), var safetyLocationStyle: SafetyLocationStyle = SafetyLocationStyle(), 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.

Constructors

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

Properties

Link copied to clipboard

The style configuration for the better route proposals. Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard

The style configuration for the routes. Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard

The style configuration for the on-route traffic incidents. Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard

The style configuration used to display safety locations. Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String