Spec-Zone.ru › MapLibre GL JS

GeolocatePositionEvent

The event class for the geolocate control geolocate and outofmaxbounds events. Carries the Position returned by the Geolocation API.

Extends

  • Event

Properties

coords

coords: GeolocationCoordinates

The geographic position returned by the Geolocation API.


target

target: GeolocateControl

The GeolocateControl object that fired the event.

Overrides

Event.target


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/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API