SafetyLocation

class SafetyLocation(val id: SafetyLocationId, val speedLimit: Speed?, val startLocation: GeoPoint, val endLocation: GeoPoint = startLocation, val type: SafetyLocationType)

Describes a safety location.

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

Constructors

Link copied to clipboard
constructor(id: SafetyLocationId, speedLimit: Speed?, startLocation: GeoPoint, endLocation: GeoPoint = startLocation, type: SafetyLocationType)

Properties

Link copied to clipboard

End position of the safety location. By default endLocation is equal to the startLocation. If startLocation and endLocation are equal, the safety location is a spot.

Link copied to clipboard

Identifies a safety location.

Link copied to clipboard

Defines the speed limit for safety location types to which a speed limit applies.

Link copied to clipboard

Start position of the safety location.

Link copied to clipboard

Type of the safety location.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String