SafetyLocationData

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

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.