diff --git a/externs/olx.js b/externs/olx.js index e1003729fe..c349ee4cb2 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -10,7 +10,7 @@ var olx; /** * @typedef {{html: string, * tileRanges: (Object.>|undefined)}} - * @api + * @api stable */ olx.AttributionOptions; @@ -772,7 +772,7 @@ olx.control.AttributionOptions.prototype.collapseLabel; /** * @typedef {{element: (Element|undefined), * target: (Element|string|undefined)}} - * @api + * @api stable */ olx.control.ControlOptions; @@ -890,7 +890,7 @@ olx.control.FullScreenOptions.prototype.target; * projection: ol.proj.ProjectionLike, * target: (Element|undefined), * undefinedHTML: (string|undefined)}} - * @api + * @api stable */ olx.control.MousePositionOptions; @@ -935,7 +935,7 @@ olx.control.MousePositionOptions.prototype.undefinedHTML; * minWidth: (number|undefined), * target: (Element|undefined), * units: (ol.control.ScaleLineUnits|string|undefined)}} - * @api + * @api stable */ olx.control.ScaleLineOptions; @@ -975,7 +975,7 @@ olx.control.ScaleLineOptions.prototype.units; * tipLabel: (string|undefined), * target: (Element|undefined), * autoHide: (boolean|undefined)}} - * @api + * @api stable */ olx.control.RotateOptions; @@ -1031,7 +1031,7 @@ olx.control.RotateOptions.prototype.target; * zoomOutTipLabel: (string|undefined), * delta: (number|undefined), * target: (Element|undefined)}} - * @api + * @api stable */ olx.control.ZoomOptions; @@ -1096,7 +1096,7 @@ olx.control.ZoomOptions.prototype.target; * @typedef {{className: (string|undefined), * maxResolution: (number|undefined), * minResolution: (number|undefined)}} - * @api + * @api stable */ olx.control.ZoomSliderOptions; @@ -1127,7 +1127,7 @@ olx.control.ZoomSliderOptions.prototype.minResolution; * target: (Element|undefined), * tipLabel: (string|undefined), * extent: (ol.Extent|undefined)}} - * @api + * @api stable */ olx.control.ZoomToExtentOptions; diff --git a/src/ol/control/attributioncontrol.js b/src/ol/control/attributioncontrol.js index 6239585d5d..5bd041f3fb 100644 --- a/src/ol/control/attributioncontrol.js +++ b/src/ol/control/attributioncontrol.js @@ -26,7 +26,7 @@ goog.require('ol.pointer.PointerEventHandler'); * @constructor * @extends {ol.control.Control} * @param {olx.control.AttributionOptions=} opt_options Attribution options. - * @api + * @api stable */ ol.control.Attribution = function(opt_options) { @@ -362,7 +362,7 @@ ol.control.Attribution.prototype.handleToggle_ = function() { /** * @return {boolean} True if the widget is collapsible. - * @api + * @api stable */ ol.control.Attribution.prototype.getCollapsible = function() { return this.collapsible_; @@ -371,7 +371,7 @@ ol.control.Attribution.prototype.getCollapsible = function() { /** * @param {boolean} collapsible True if the widget is collapsible. - * @api + * @api stable */ ol.control.Attribution.prototype.setCollapsible = function(collapsible) { if (this.collapsible_ === collapsible) { @@ -387,7 +387,7 @@ ol.control.Attribution.prototype.setCollapsible = function(collapsible) { /** * @param {boolean} collapsed True if the widget is collapsed. - * @api + * @api stable */ ol.control.Attribution.prototype.setCollapsed = function(collapsed) { if (!this.collapsible_ || this.collapsed_ === collapsed) { @@ -399,7 +399,7 @@ ol.control.Attribution.prototype.setCollapsed = function(collapsed) { /** * @return {boolean} True if the widget is collapsed. - * @api + * @api stable */ ol.control.Attribution.prototype.getCollapsed = function() { return this.collapsed_; diff --git a/src/ol/control/control.js b/src/ol/control/control.js index 1d63b0f74c..1695780971 100644 --- a/src/ol/control/control.js +++ b/src/ol/control/control.js @@ -82,7 +82,7 @@ ol.control.Control.prototype.disposeInternal = function() { /** * Get the map associated with this control. * @return {ol.Map} Map. - * @api + * @api stable */ ol.control.Control.prototype.getMap = function() { return this.map_; diff --git a/src/ol/control/controldefaults.js b/src/ol/control/controldefaults.js index b97351f410..c9c6170ac9 100644 --- a/src/ol/control/controldefaults.js +++ b/src/ol/control/controldefaults.js @@ -16,7 +16,7 @@ goog.require('ol.control.Zoom'); * * @param {olx.control.DefaultsOptions=} opt_options Defaults options. * @return {ol.Collection.} Controls. - * @api + * @api stable */ ol.control.defaults = function(opt_options) { diff --git a/src/ol/control/fullscreencontrol.js b/src/ol/control/fullscreencontrol.js index 04052ed02f..83b653e804 100644 --- a/src/ol/control/fullscreencontrol.js +++ b/src/ol/control/fullscreencontrol.js @@ -25,7 +25,7 @@ goog.require('ol.pointer.PointerEventHandler'); * @constructor * @extends {ol.control.Control} * @param {olx.control.FullScreenOptions=} opt_options Options. - * @api + * @api stable */ ol.control.FullScreen = function(opt_options) { 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); diff --git a/src/ol/control/rotatecontrol.js b/src/ol/control/rotatecontrol.js index 0d041b8554..e305c1bd35 100644 --- a/src/ol/control/rotatecontrol.js +++ b/src/ol/control/rotatecontrol.js @@ -22,7 +22,7 @@ goog.require('ol.pointer.PointerEventHandler'); * @constructor * @extends {ol.control.Control} * @param {olx.control.RotateOptions=} opt_options Rotate options. - * @api + * @api stable */ ol.control.Rotate = function(opt_options) { diff --git a/src/ol/control/scalelinecontrol.js b/src/ol/control/scalelinecontrol.js index fd874913bd..6d44010d9d 100644 --- a/src/ol/control/scalelinecontrol.js +++ b/src/ol/control/scalelinecontrol.js @@ -29,7 +29,7 @@ ol.control.ScaleLineProperty = { * Units for the scale line. Supported values are `'degrees'`, `'imperial'`, * `'nautical'`, `'metric'`, `'us'`. * @enum {string} - * @api + * @api stable */ ol.control.ScaleLineUnits = { DEGREES: 'degrees', @@ -53,7 +53,7 @@ ol.control.ScaleLineUnits = { * @constructor * @extends {ol.control.Control} * @param {olx.control.ScaleLineOptions=} opt_options Scale line options. - * @api + * @api stable */ ol.control.ScaleLine = function(opt_options) { @@ -141,7 +141,7 @@ ol.control.ScaleLine.LEADING_DIGITS = [1, 2, 5]; * @return {ol.control.ScaleLineUnits|undefined} The units to use in the scale * line. * @observable - * @api + * @api stable */ ol.control.ScaleLine.prototype.getUnits = function() { return /** @type {ol.control.ScaleLineUnits|undefined} */ ( @@ -178,7 +178,7 @@ ol.control.ScaleLine.prototype.handleUnitsChanged_ = function() { /** * @param {ol.control.ScaleLineUnits} units The units to use in the scale line. * @observable - * @api + * @api stable */ ol.control.ScaleLine.prototype.setUnits = function(units) { this.set(ol.control.ScaleLineProperty.UNITS, units); diff --git a/src/ol/control/zoomcontrol.js b/src/ol/control/zoomcontrol.js index 824fe8deb8..5ded1a0426 100644 --- a/src/ol/control/zoomcontrol.js +++ b/src/ol/control/zoomcontrol.js @@ -21,7 +21,7 @@ goog.require('ol.pointer.PointerEventHandler'); * @constructor * @extends {ol.control.Control} * @param {olx.control.ZoomOptions=} opt_options Zoom options. - * @api + * @api stable */ ol.control.Zoom = function(opt_options) { diff --git a/src/ol/control/zoomslidercontrol.js b/src/ol/control/zoomslidercontrol.js index 9ae52f5b4e..6a6617c51b 100644 --- a/src/ol/control/zoomslidercontrol.js +++ b/src/ol/control/zoomslidercontrol.js @@ -32,7 +32,7 @@ goog.require('ol.easing'); * @constructor * @extends {ol.control.Control} * @param {olx.control.ZoomSliderOptions=} opt_options Zoom slider options. - * @api + * @api stable */ ol.control.ZoomSlider = function(opt_options) { diff --git a/src/ol/control/zoomtoextentcontrol.js b/src/ol/control/zoomtoextentcontrol.js index 6fdd55ab8d..441c939878 100644 --- a/src/ol/control/zoomtoextentcontrol.js +++ b/src/ol/control/zoomtoextentcontrol.js @@ -19,7 +19,7 @@ goog.require('ol.pointer.PointerEventHandler'); * @constructor * @extends {ol.control.Control} * @param {olx.control.ZoomToExtentOptions=} opt_options Options. - * @api + * @api stable */ ol.control.ZoomToExtent = function(opt_options) { var options = goog.isDef(opt_options) ? opt_options : {};