For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class GeolocatePositionEvent

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

Hierarchy (View Summary)

  • Event
    • GeolocatePositionEvent
Index

Constructors

Properties

Constructors

Properties

The geographic position returned by the Geolocation API.

The GeolocateControl object that fired the event.

timestamp: number

The time at which the position was acquired, in milliseconds since the Unix epoch.

type: "geolocate" | "outofmaxbounds"
Was this helpful?