diff --git a/externs/olx.js b/externs/olx.js index 6099abe4d3..cd8820f155 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -897,7 +897,7 @@ olx.control.FullScreenOptions.prototype.target; * projection: ol.proj.ProjectionLike, * target: (Element|undefined), * undefinedHTML: (string|undefined)}} - * @api + * @api stable */ olx.control.MousePositionOptions; diff --git a/src/ol/control/mousepositioncontrol.js b/src/ol/control/mousepositioncontrol.js index 764fc94691..05fb83d751 100644 --- a/src/ol/control/mousepositioncontrol.js +++ b/src/ol/control/mousepositioncontrol.js @@ -37,7 +37,7 @@ ol.control.MousePositionProperty = { * @extends {ol.control.Control} * @param {olx.control.MousePositionOptions=} opt_options Mouse position * options. - * @api + * @api stable */ ol.control.MousePosition = function(opt_options) { @@ -130,7 +130,7 @@ ol.control.MousePosition.prototype.handleProjectionChanged_ = function() { * @return {ol.CoordinateFormatType|undefined} The format to render the current * position in. * @observable - * @api + * @api stable */ ol.control.MousePosition.prototype.getCoordinateFormat = function() { return /** @type {ol.CoordinateFormatType|undefined} */ ( @@ -146,7 +146,7 @@ goog.exportProperty( * @return {ol.proj.Projection|undefined} The projection to report mouse * position in. * @observable - * @api + * @api stable */ ol.control.MousePosition.prototype.getProjection = function() { return /** @type {ol.proj.Projection|undefined} */ ( @@ -183,7 +183,7 @@ ol.control.MousePosition.prototype.handleMouseOut = function(browserEvent) { /** * @inheritDoc - * @api + * @api stable */ ol.control.MousePosition.prototype.setMap = function(map) { goog.base(this, 'setMap', map); @@ -203,7 +203,7 @@ ol.control.MousePosition.prototype.setMap = function(map) { * @param {ol.CoordinateFormatType} format The format to render the current * position in. * @observable - * @api + * @api stable */ ol.control.MousePosition.prototype.setCoordinateFormat = function(format) { this.set(ol.control.MousePositionProperty.COORDINATE_FORMAT, format); @@ -218,7 +218,7 @@ goog.exportProperty( * @param {ol.proj.Projection} projection The projection to report mouse * position in. * @observable - * @api + * @api stable */ ol.control.MousePosition.prototype.setProjection = function(projection) { this.set(ol.control.MousePositionProperty.PROJECTION, projection);