Brr_io.GeolocationAccess to device location.
See Geolocation API.
module Error : sig ... endPosition errors.
module Pos : sig ... endPositions.
val opts : ?high_accuracy:bool -> ?timeout_ms:int -> ?maximum_age_ms:int -> unit -> optsopts ~high_accuracy ~maximum_age_ms ~timeout_ms () are geolocalisation options.
The type for device Geolocation objects.
of_navigator n is a device geolocalisation object for navigator n.
val get : ?opts:opts -> t -> (Pos.t, Error.t) Fut.resultget l ~opts is the position of l determined with options opts.