Skip to content

GeolocatePositionEvent

Defined in: ui/control/geolocate_control.ts:80

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

Extends

Properties

coords

coords: GeolocationCoordinates

Defined in: ui/control/geolocate_control.ts:89

The geographic position returned by the Geolocation API.


target

target: GeolocateControl

Defined in: ui/control/geolocate_control.ts:85

The GeolocateControl object that fired the event.

Overrides

Event.target


timestamp

timestamp: number

Defined in: ui/control/geolocate_control.ts:93

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