Document existing error event type

This commit is contained in:
Tim Schaub
2019-05-14 14:28:00 -06:00
parent 3a1d927c41
commit 811e5f60eb
2 changed files with 8 additions and 8 deletions

View File

@@ -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.