Document existing error event type
This commit is contained in:
@@ -83,7 +83,7 @@ class GeolocationError extends Event {
|
||||
* window.console.log(geolocation.getPosition());
|
||||
* });
|
||||
*
|
||||
* @fires error
|
||||
* @fires module:ol/events/Event~Event#event:error
|
||||
* @api
|
||||
*/
|
||||
class Geolocation extends BaseObject {
|
||||
@@ -204,12 +204,6 @@ class Geolocation extends BaseObject {
|
||||
this.changed();
|
||||
}
|
||||
|
||||
/**
|
||||
* Triggered when the Geolocation returns an error.
|
||||
* @event error
|
||||
* @api
|
||||
*/
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {PositionError} error error object.
|
||||
|
||||
Reference in New Issue
Block a user