Merge pull request #4730 from fredj/geolocation_error_doc

Document ol.Geolocation error event
This commit is contained in:
Frédéric Junod
2016-02-03 11:11:23 +01:00

View File

@@ -52,6 +52,7 @@ ol.GeolocationProperty = {
* window.console.log(geolocation.getPosition());
* });
*
* @fires error
* @constructor
* @extends {ol.Object}
* @param {olx.GeolocationOptions=} opt_options Options.
@@ -177,6 +178,11 @@ ol.Geolocation.prototype.positionChange_ = function(position) {
this.changed();
};
/**
* Triggered when the Geolocation returns an error.
* @event error
* @api
*/
/**
* @private