SimpleWaypoint

data class SimpleWaypoint(val id: Double, val lat: Double, val lng: Double)

Domain model representing a single waypoint (GPS point) in a track. Used to represent waypoint for the UI

Constructors

Link copied to clipboard
constructor(id: Double, lat: Double, lng: Double)

Properties

Link copied to clipboard
val id: Double

Unique identifier for the waypoint (Double is unusual, usually Int or Long is used).

Link copied to clipboard
val lat: Double

Latitude coordinate of the waypoint.

Link copied to clipboard
val lng: Double