diff --git a/externs/olx.js b/externs/olx.js index 2faa3bf5e1..948eacdcec 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -287,7 +287,7 @@ olx.MapOptions.prototype.view; * positioning: (ol.OverlayPositioning|string|undefined), * stopEvent: (boolean|undefined), * insertFirst: (boolean|undefined)}} - * @api + * @api stable */ olx.OverlayOptions; diff --git a/src/ol/overlay.js b/src/ol/overlay.js index da97299dcb..573d57045d 100644 --- a/src/ol/overlay.js +++ b/src/ol/overlay.js @@ -30,7 +30,7 @@ ol.OverlayProperty = { * `'center-left'`, `'center-center'`, `'center-right'`, `'top-left'`, * `'top-center'`, `'top-right'` * @enum {string} - * @api + * @api stable */ ol.OverlayPositioning = { BOTTOM_LEFT: 'bottom-left', @@ -155,7 +155,7 @@ goog.inherits(ol.Overlay, ol.Object); * Get the DOM element of this overlay. * @return {Element|undefined} The Element containing the overlay. * @observable - * @api + * @api stable */ ol.Overlay.prototype.getElement = function() { return /** @type {Element|undefined} */ ( @@ -171,7 +171,7 @@ goog.exportProperty( * Get the map associated with this overlay. * @return {ol.Map|undefined} The map that the overlay is part of. * @observable - * @api + * @api stable */ ol.Overlay.prototype.getMap = function() { return /** @type {ol.Map|undefined} */ ( @@ -187,7 +187,7 @@ goog.exportProperty( * Get the offset of this overlay. * @return {Array.} The offset. * @observable - * @api + * @api stable */ ol.Overlay.prototype.getOffset = function() { return /** @type {Array.} */ ( @@ -204,7 +204,7 @@ goog.exportProperty( * @return {ol.Coordinate|undefined} The spatial point that the overlay is * anchored at. * @observable - * @api + * @api stable */ ol.Overlay.prototype.getPosition = function() { return /** @type {ol.Coordinate|undefined} */ ( @@ -221,7 +221,7 @@ goog.exportProperty( * @return {ol.OverlayPositioning} How the overlay is positioned * relative to its point on the map. * @observable - * @api + * @api stable */ ol.Overlay.prototype.getPositioning = function() { return /** @type {ol.OverlayPositioning} */ ( @@ -307,7 +307,7 @@ ol.Overlay.prototype.handlePositioningChanged = function() { * Set the DOM element to be associated with this overlay. * @param {Element|undefined} element The Element containing the overlay. * @observable - * @api + * @api stable */ ol.Overlay.prototype.setElement = function(element) { this.set(ol.OverlayProperty.ELEMENT, element); @@ -322,7 +322,7 @@ goog.exportProperty( * Set the map to be associated with this overlay. * @param {ol.Map|undefined} map The map that the overlay is part of. * @observable - * @api + * @api stable */ ol.Overlay.prototype.setMap = function(map) { this.set(ol.OverlayProperty.MAP, map); @@ -337,7 +337,7 @@ goog.exportProperty( * Set the offset for this overlay. * @param {Array.} offset Offset. * @observable - * @api + * @api stable */ ol.Overlay.prototype.setOffset = function(offset) { this.set(ol.OverlayProperty.OFFSET, offset); @@ -369,7 +369,7 @@ goog.exportProperty( * @param {ol.OverlayPositioning} positioning how the overlay is * positioned relative to its point on the map. * @observable - * @api + * @api stable */ ol.Overlay.prototype.setPositioning = function(positioning) { this.set(ol.OverlayProperty.POSITIONING, positioning);