SafetyLocationData

data class SafetyLocationData(val id: SafetyLocationId, val type: SafetyLocationType, val startPosition: GeoPoint, val endPosition: GeoPoint = startPosition, val speedLimit: Speed? = null, val recommendedWarningDistance: Distance? = null, val locationReference: LocationReference) : DataObject

A safety location entry.

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

Parameters

id

A unique id of the safety location.

type

Safety location type.

startPosition

The start position of the safety location.

endPosition

The end position of the safety location. In case of a spot it should be equal to startPosition.

speedLimit

The maximum allowed speed for the reported safety location.

recommendedWarningDistance

Recommended warning distance.

locationReference

Data which can be resolved to a map to find the corresponding map references.

Constructors

Link copied to clipboard
constructor(id: SafetyLocationId, type: SafetyLocationType, startPosition: GeoPoint, endPosition: GeoPoint = startPosition, speedLimit: Speed? = null, recommendedWarningDistance: Distance? = null, locationReference: LocationReference)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val speedLimit: Speed? = null
Link copied to clipboard
Link copied to clipboard