StyleConfiguration

constructor(route: RouteStyle = RouteStyle(), routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle(), safetyLocationStyle: SafetyLocationStyle = SafetyLocationStyle(), betterRouteStyle: BetterRouteStyle = BetterRouteStyle())

Constructs an instance of the style configuration with the provided style configurations.

When no arguments are provided to the constructor, it constructs the default style configuration.

Parameters

route

The style configuration for the routes.

routeTrafficIncident

The style configuration for the on-route traffic incidents.

safetyLocationStyle

The style configuration used to display safety locations.

betterRouteStyle

The style configuration for the better route proposals.

Important: This is a Public Preview API. It may be changed or removed at any time.