MapStyleState

The styling of the map view.

See also

Properties

Link copied to clipboard

If true, show hill shading layer in the current style.

Link copied to clipboard

If true, show vehicle restriction for the configured vehicle. See MapDisplayInfrastructure.vehicle to configure the vehicle. It is required that StandardStyles.TomTomMaps.VEHICLE_RESTRICTIONS is set.

Link copied to clipboard

Sets the StyleMode. The default value is StyleMode.MAIN.

Functions

Link copied to clipboard
suspend fun loadStyle(style: StyleDescriptor)

Loads new map style.

Link copied to clipboard
open override fun toString(): String