diff --git a/src/ol/attribution.js b/src/ol/attribution.js index bb24b553ef..b8d4aac9d7 100644 --- a/src/ol/attribution.js +++ b/src/ol/attribution.js @@ -45,6 +45,7 @@ ol.Attribution = function(options) { /** * @return {string} HTML. + * @api */ ol.Attribution.prototype.getHTML = function() { return this.html_; diff --git a/src/ol/layer/layergroup.js b/src/ol/layer/layergroup.js index eb8ffb8c97..b89e46435f 100644 --- a/src/ol/layer/layergroup.js +++ b/src/ol/layer/layergroup.js @@ -148,6 +148,7 @@ ol.layer.Group.prototype.handleLayersRemove_ = function(collectionEvent) { * @return {ol.Collection.|undefined} Collection of * {@link ol.layer.Layer layers} that are part of this group. * @observable + * @api */ ol.layer.Group.prototype.getLayers = function() { return /** @type {ol.Collection.|undefined} */ (this.get( @@ -163,6 +164,7 @@ goog.exportProperty( * @param {ol.Collection.|undefined} layers Collection of * {@link ol.layer.Layer layers} that are part of this group. * @observable + * @api */ ol.layer.Group.prototype.setLayers = function(layers) { this.set(ol.layer.GroupProperty.LAYERS, layers); diff --git a/src/ol/source/source.js b/src/ol/source/source.js index 591b45730f..8e09df215d 100644 --- a/src/ol/source/source.js +++ b/src/ol/source/source.js @@ -91,6 +91,7 @@ ol.source.Source.prototype.forEachFeatureAtPixel = /** * @return {Array.} Attributions. + * @api */ ol.source.Source.prototype.getAttributions = function() { return this.attributions_; @@ -99,6 +100,7 @@ ol.source.Source.prototype.getAttributions = function() { /** * @return {string|olx.LogoOptions|undefined} Logo. + * @api */ ol.source.Source.prototype.getLogo = function() { return this.logo_; @@ -107,6 +109,7 @@ ol.source.Source.prototype.getLogo = function() { /** * @return {ol.proj.Projection} Projection. + * @api */ ol.source.Source.prototype.getProjection = function() { return this.projection_; diff --git a/src/ol/tilegrid/tilegrid.js b/src/ol/tilegrid/tilegrid.js index 8c553e8f17..8996b786d2 100644 --- a/src/ol/tilegrid/tilegrid.js +++ b/src/ol/tilegrid/tilegrid.js @@ -133,6 +133,7 @@ ol.tilegrid.TileGrid.prototype.forEachTileCoordParentTileRange = /** * @return {number} Max zoom. + * @api */ ol.tilegrid.TileGrid.prototype.getMaxZoom = function() { return this.maxZoom;