brr
Geolocation.Pos
Positions.
brr.ocaml_poke
brr.ocaml_poke_ui
brr.poke
brr.poked
type t
The type for GeolocationPosition objects (and their GeolocationCoordinates member).
GeolocationPosition
GeolocationCoordinates
val latitude : t -> float
latitude p is the latitude in decimal degrees.
latitude p
val longitude : t -> float
longitude p is the longitude in decimal degrees.
longitude p
val accuracy : t -> float
accuracy p is the accuracy, in meters, of the latitude and longitude in meters.
accuracy p
latitude
longitude
val altitude : t -> float option
altitude p is the altitude in meters relative to sea level.
altitude p
val altitude_accuracy : t -> float option
altitude_accuracy p is the altitude accuracy, in meters, of the altitude.
altitude_accuracy p
altitude
val heading : t -> float option
heading p is the direction in degree with respect to true north (90° is east). If speed is 0, this is nan.
heading p
speed
0
nan
val speed : t -> float option
speed p is the device velocity in meters per seconds.
speed p
val timestamp_ms : t -> float
timestamp_ms p is the time of measurement in ms since the epoch.
timestamp_ms p
ms