StyleConfiguration

constructor(route: RouteStyle = RouteStyle(), routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle())

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.

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