StyleConfiguration

class StyleConfiguration(val route: RouteStyle = RouteStyle(), val routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle(), var safetyLocationStyle: SafetyLocationStyle = SafetyLocationStyle())

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())

Properties

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.