VehicleController

Allows to set vehicle parameters and show/hide restrictions for the given vehicle on the map

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

Functions

Link copied to clipboard

Hides vehicle restrictions layers.

Link copied to clipboard

Shows vehicle restrictions layers if hidden previously.

abstract fun showVehicleRestrictions(vehicle: Vehicle)

Shows vehicle restriction for given vehicle. It is required that StandardStyles.VEHICLE_RESTRICTIONS is set.

Link copied to clipboard
abstract fun updateVehicle(vehicle: Vehicle)

Updates vehicle. If StandardStyles.VEHICLE_RESTRICTIONS is selected restrictions will be visible.

Inheritors

Link copied to clipboard