Linear

data class Linear(val positions: List<GeoPoint>) : HazardLocation

Describes the location of Hazard that is represented as polyline.

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

Constructors

Link copied to clipboard
constructor(positions: List<GeoPoint>)

Properties

Link copied to clipboard

Represents a linear location, i.e., a polyline. Note: It is guaranteed to include start and end points, but not intermediate points.