Waypoint

@JsonClass(generateAdapter = true)
data class Waypoint(@Json(name = "latE7") val latE7: Int, @Json(name = "lngE7") val lngE7: Int)

Represents a waypoint with latitude and longitude.

Constructors

Link copied to clipboard
constructor(@Json(name = "latE7") latE7: Int, @Json(name = "lngE7") lngE7: Int)

Properties

Link copied to clipboard
val latE7: Int

Latitude coordinate of the waypoint. Degrees multiplied by 10^7 and rounded to the nearest integer, in the range -900000000 to +900000000 (divide value by 10^7 for the usual range -90° to +90°). Example: 414216106

Link copied to clipboard
val lngE7: Int

Longitude coordinate of the waypoint. Degrees multiplied by 10^7 and rounded to the nearest integer, in the range -1800000000 to +1800000000 (divide value by 10^7 for the usual range -180° to +180°). Example: -793718490