GeolocatePositionEvent
The event class for the geolocate control geolocate and outofmaxbounds events. Carries the Position returned by the Geolocation API.
Extends
Properties
coords
coords:
GeolocationCoordinates
The geographic position returned by the Geolocation API.
target
target:
GeolocateControl
The GeolocateControl object that fired the event.
Overrides
timestamp
timestamp:
number
The time at which the position was acquired, in milliseconds since the Unix epoch.
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/classes/GeolocatePositionEvent/