Type alias GeolocateEventTypes
GeolocateEventTypes: { error: EventedEvent<"error", GeoLocateControlGL> & GeolocationPositionError; geolocate: EventedEvent<"geolocate", GeoLocateControlGL> & GeolocationPosition; outofmaxbounds: EventedEvent<"outofmaxbounds", GeoLocateControlGL> & GeolocationPosition; trackuserlocationend: EventedEvent<"trackuserlocationend", GeoLocateControlGL> & GeolocationPosition; trackuserlocationstart: EventedEvent<"trackuserlocationstart", GeoLocateControlGL> & GeolocationPosition; }
Type declaration
-
error: EventedEvent<"error", GeoLocateControlGL> & GeolocationPositionError
-
geolocate: EventedEvent<"geolocate", GeoLocateControlGL> & GeolocationPosition
-
outofmaxbounds: EventedEvent<"outofmaxbounds", GeoLocateControlGL> & GeolocationPosition
-
trackuserlocationend: EventedEvent<"trackuserlocationend", GeoLocateControlGL> & GeolocationPosition
-
trackuserlocationstart: EventedEvent<"trackuserlocationstart", GeoLocateControlGL> & GeolocationPosition
Geolocate events that implement the EventedEvent interface.
See
Mapbox Geolocate