GeolocateErrorEvent
The event class for the geolocate control error event. Carries the PositionError returned by the Geolocation API.
Extends
Properties
code
code:
number
The error code returned by the Geolocation API.
message
message:
string
The error message returned by the Geolocation API.
target
target:
GeolocateControl
The GeolocateControl object that fired the event.
Overrides
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/classes/GeolocateErrorEvent/