OnLocationChanged

@Serializable
data class OnLocationChanged(val lat: Double, val lng: Double, val orientation: Double?) : KarooEvent

Observe the current position and orientation

Since

1.1.3

Constructors

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

Types

Link copied to clipboard
@Serializable
data object Params : KarooEventParams

Default params for OnLocationChanged event listener

Properties

Link copied to clipboard
val lat: Double

Latitude of current position

Link copied to clipboard
val lng: Double

Longitude of current position

Link copied to clipboard

Current orientation, heading, direction