From d71ca642d23c56228ca826f41cae2be27d18ac35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:01:59 +0200 Subject: [PATCH 01/29] Add @api stable annotations for ol.source.BingMaps --- externs/olx.js | 2 +- src/ol/source/bingmapssource.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 9a1cad5491..5d98e16d96 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3000,7 +3000,7 @@ olx.FeatureOverlayOptions.prototype.style; * key: string, * imagerySet: string, * tileLoadFunction: (ol.TileLoadFunctionType|undefined)}} - * @api + * @api stable */ olx.source.BingMapsOptions; diff --git a/src/ol/source/bingmapssource.js b/src/ol/source/bingmapssource.js index 7d6a7b4158..7eb562ccd5 100644 --- a/src/ol/source/bingmapssource.js +++ b/src/ol/source/bingmapssource.js @@ -24,7 +24,7 @@ goog.require('ol.tilegrid.XYZ'); * @constructor * @extends {ol.source.TileImage} * @param {olx.source.BingMapsOptions} options Bing Maps options. - * @api + * @api stable */ ol.source.BingMaps = function(options) { From f7088fc5003f43eea13da274ca9a9d6c2374631c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:10:05 +0200 Subject: [PATCH 02/29] Add @api stable annotations for ol.source.ImageStatic --- externs/olx.js | 2 +- src/ol/source/imagestaticsource.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 5d98e16d96..d4ab3c760e 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4339,7 +4339,7 @@ olx.source.StamenOptions.prototype.url; * logo: (string|olx.LogoOptions|undefined), * projection: ol.proj.ProjectionLike, * url: string}} - * @api + * @api stable */ olx.source.ImageStaticOptions; diff --git a/src/ol/source/imagestaticsource.js b/src/ol/source/imagestaticsource.js index 5eda133275..eb8fe9c181 100644 --- a/src/ol/source/imagestaticsource.js +++ b/src/ol/source/imagestaticsource.js @@ -15,7 +15,7 @@ goog.require('ol.source.Image'); * @constructor * @extends {ol.source.Image} * @param {olx.source.ImageStaticOptions} options Options. - * @api + * @api stable */ ol.source.ImageStatic = function(options) { From 7596133db19fb23ed52acda3a7610e954187d021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:10:52 +0200 Subject: [PATCH 03/29] Add @api stable annotations for ol.source.ImageWMS --- externs/olx.js | 2 +- src/ol/source/imagewmssource.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index d4ab3c760e..bfab788438 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4181,7 +4181,7 @@ olx.source.ImageVectorOptions.prototype.style; * ratio: (number|undefined), * resolutions: (Array.|undefined), * url: (string|undefined)}} - * @api + * @api stable */ olx.source.ImageWMSOptions; diff --git a/src/ol/source/imagewmssource.js b/src/ol/source/imagewmssource.js index b5bf1f9695..916c5e3189 100644 --- a/src/ol/source/imagewmssource.js +++ b/src/ol/source/imagewmssource.js @@ -23,7 +23,7 @@ goog.require('ol.source.wms.ServerType'); * @constructor * @extends {ol.source.Image} * @param {olx.source.ImageWMSOptions=} opt_options Options. - * @api + * @api stable */ ol.source.ImageWMS = function(opt_options) { @@ -123,7 +123,7 @@ ol.source.ImageWMS.GETFEATUREINFO_IMAGE_SIZE_ = [101, 101]; * in the `LAYERS` parameter will be used. `VERSION` should not be * specified here. * @return {string|undefined} GetFeatureInfo URL. - * @api + * @api stable */ ol.source.ImageWMS.prototype.getGetFeatureInfoUrl = function(coordinate, resolution, projection, params) { @@ -163,7 +163,7 @@ ol.source.ImageWMS.prototype.getGetFeatureInfoUrl = * Get the user-provided params, i.e. those passed to the constructor through * the "params" option, and possibly updated using the updateParams method. * @return {Object} Params. - * @api + * @api stable */ ol.source.ImageWMS.prototype.getParams = function() { return this.params_; @@ -304,7 +304,7 @@ ol.source.ImageWMS.prototype.getRequestUrl_ = /** * Return the URL used for this WMS source. * @return {string|undefined} URL. - * @api + * @api stable */ ol.source.ImageWMS.prototype.getUrl = function() { return this.url_; @@ -313,7 +313,7 @@ ol.source.ImageWMS.prototype.getUrl = function() { /** * @param {string|undefined} url URL. - * @api + * @api stable */ ol.source.ImageWMS.prototype.setUrl = function(url) { if (url != this.url_) { @@ -327,7 +327,7 @@ ol.source.ImageWMS.prototype.setUrl = function(url) { /** * Update the user-provided params. * @param {Object} params Params. - * @api + * @api stable */ ol.source.ImageWMS.prototype.updateParams = function(params) { goog.object.extend(this.params_, params); From 69b99cb9ed2598b808f3e4e0eafe532d2d4f8617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:12:04 +0200 Subject: [PATCH 04/29] Add @api stable annotations for ol.source.MapQuest --- externs/olx.js | 2 +- src/ol/source/mapquestsource.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index bfab788438..779eaf3b55 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3827,7 +3827,7 @@ olx.source.KMLOptions.prototype.urls; /** * @typedef {{layer: string, * tileLoadFunction: (ol.TileLoadFunctionType|undefined)}} - * @api + * @api stable */ olx.source.MapQuestOptions; diff --git a/src/ol/source/mapquestsource.js b/src/ol/source/mapquestsource.js index b3ce087555..3324e57fbf 100644 --- a/src/ol/source/mapquestsource.js +++ b/src/ol/source/mapquestsource.js @@ -15,7 +15,7 @@ goog.require('ol.source.XYZ'); * @constructor * @extends {ol.source.XYZ} * @param {olx.source.MapQuestOptions=} opt_options MapQuest options. - * @api + * @api stable */ ol.source.MapQuest = function(opt_options) { From 823dc41cdf576730749700ae8274c610b4440f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:12:37 +0200 Subject: [PATCH 05/29] Add @api stable annotations for ol.source.OSM --- externs/olx.js | 2 +- src/ol/source/osmsource.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 779eaf3b55..243d5ad32f 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3878,7 +3878,7 @@ olx.source.TileDebugOptions.prototype.tileGrid; * maxZoom: (number|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: (string|undefined)}} - * @api + * @api stable */ olx.source.OSMOptions; diff --git a/src/ol/source/osmsource.js b/src/ol/source/osmsource.js index da56f6cd19..2d8e80257d 100644 --- a/src/ol/source/osmsource.js +++ b/src/ol/source/osmsource.js @@ -13,7 +13,7 @@ goog.require('ol.source.XYZ'); * @constructor * @extends {ol.source.XYZ} * @param {olx.source.OSMOptions=} opt_options Open Street Map options. - * @api + * @api stable */ ol.source.OSM = function(opt_options) { From 16359b8af0d862fe54832ce68e91b9a3138de1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:13:41 +0200 Subject: [PATCH 06/29] Add @api stable annotations for ol.source.Source --- src/ol/source/source.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/source/source.js b/src/ol/source/source.js index 8e09df215d..81797803fa 100644 --- a/src/ol/source/source.js +++ b/src/ol/source/source.js @@ -91,7 +91,7 @@ ol.source.Source.prototype.forEachFeatureAtPixel = /** * @return {Array.} Attributions. - * @api + * @api stable */ ol.source.Source.prototype.getAttributions = function() { return this.attributions_; @@ -100,7 +100,7 @@ ol.source.Source.prototype.getAttributions = function() { /** * @return {string|olx.LogoOptions|undefined} Logo. - * @api + * @api stable */ ol.source.Source.prototype.getLogo = function() { return this.logo_; From e9c2e72000a36dffc51d13308f059567afd4225a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:14:15 +0200 Subject: [PATCH 07/29] Add @api stable annotations for ol.source.Stamen --- externs/olx.js | 2 +- src/ol/source/stamensource.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 243d5ad32f..2ca101adcd 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4278,7 +4278,7 @@ olx.source.ImageWMSOptions.prototype.url; * opaque: (boolean|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: (string|undefined)}} - * @api + * @api stable */ olx.source.StamenOptions; diff --git a/src/ol/source/stamensource.js b/src/ol/source/stamensource.js index 271b3ffbfa..7e7c15e5c8 100644 --- a/src/ol/source/stamensource.js +++ b/src/ol/source/stamensource.js @@ -85,7 +85,7 @@ ol.source.StamenProviderConfig = { * @constructor * @extends {ol.source.XYZ} * @param {olx.source.StamenOptions} options Stamen options. - * @api + * @api stable */ ol.source.Stamen = function(options) { From 4cc9187414c7e18ad8681e59d03dd0b726633135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:14:40 +0200 Subject: [PATCH 08/29] Add @api stable annotations for ol.source.TileJSON --- externs/olx.js | 2 +- src/ol/source/tilejsonsource.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 2ca101adcd..712b21b8d7 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4465,7 +4465,7 @@ olx.source.ServerVectorOptions.prototype.projection; * @typedef {{crossOrigin: (null|string|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: string}} - * @api + * @api stable */ olx.source.TileJSONOptions; diff --git a/src/ol/source/tilejsonsource.js b/src/ol/source/tilejsonsource.js index a9a623d601..0c4b4a6d5d 100644 --- a/src/ol/source/tilejsonsource.js +++ b/src/ol/source/tilejsonsource.js @@ -28,7 +28,7 @@ goog.require('ol.tilegrid.XYZ'); * @constructor * @extends {ol.source.TileImage} * @param {olx.source.TileJSONOptions} options TileJSON options. - * @api + * @api stable */ ol.source.TileJSON = function(options) { From cea9bd6a4a3a3b18eb4511b439b1bc3852532359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:15:28 +0200 Subject: [PATCH 09/29] Add @api stable annotations for ol.source.Tile --- src/ol/source/tilesource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/source/tilesource.js b/src/ol/source/tilesource.js index e014c0fdb7..a715030b51 100644 --- a/src/ol/source/tilesource.js +++ b/src/ol/source/tilesource.js @@ -165,7 +165,7 @@ ol.source.Tile.prototype.getTile = goog.abstractMethod; /** * @return {ol.tilegrid.TileGrid} Tile grid. - * @api + * @api stable */ ol.source.Tile.prototype.getTileGrid = function() { return this.tileGrid; From 68fc7e525145146c8e011f8482e9b5ac6b64e0fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:15:59 +0200 Subject: [PATCH 10/29] Add @api stable annotations for ol.source.TileWMS --- externs/olx.js | 2 +- src/ol/source/tilewmssource.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 712b21b8d7..13083d582a 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4508,7 +4508,7 @@ olx.source.TileJSONOptions.prototype.url; * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: (string|undefined), * urls: (Array.|undefined)}} - * @api + * @api stable */ olx.source.TileWMSOptions; diff --git a/src/ol/source/tilewmssource.js b/src/ol/source/tilewmssource.js index 422c7fe6f7..742ad31290 100644 --- a/src/ol/source/tilewmssource.js +++ b/src/ol/source/tilewmssource.js @@ -29,7 +29,7 @@ goog.require('ol.tilecoord'); * @constructor * @extends {ol.source.TileImage} * @param {olx.source.TileWMSOptions=} opt_options Tile WMS options. - * @api + * @api stable */ ol.source.TileWMS = function(opt_options) { @@ -123,7 +123,7 @@ goog.inherits(ol.source.TileWMS, ol.source.TileImage); * in the `LAYERS` parameter will be used. `VERSION` should not be * specified here. * @return {string|undefined} GetFeatureInfo URL. - * @api + * @api stable */ ol.source.TileWMS.prototype.getGetFeatureInfoUrl = function(coordinate, resolution, projection, params) { @@ -196,7 +196,7 @@ ol.source.TileWMS.prototype.getKeyZXY = function(z, x, y) { * Get the user-provided params, i.e. those passed to the constructor through * the "params" option, and possibly updated using the updateParams method. * @return {Object} Params. - * @api + * @api stable */ ol.source.TileWMS.prototype.getParams = function() { return this.params_; @@ -296,7 +296,7 @@ ol.source.TileWMS.prototype.getTilePixelSize = /** * Return the URLs used for this WMS source. * @return {!Array.} URLs. - * @api + * @api stable */ ol.source.TileWMS.prototype.getUrls = function() { return this.urls_; @@ -326,7 +326,7 @@ ol.source.TileWMS.prototype.resetCoordKeyPrefix_ = function() { /** * @param {string|undefined} url URL. - * @api + * @api stable */ ol.source.TileWMS.prototype.setUrl = function(url) { var urls = goog.isDef(url) ? ol.TileUrlFunction.expandUrl(url) : null; @@ -336,7 +336,7 @@ ol.source.TileWMS.prototype.setUrl = function(url) { /** * @param {Array.|undefined} urls URLs. - * @api + * @api stable */ ol.source.TileWMS.prototype.setUrls = function(urls) { this.urls_ = goog.isDefAndNotNull(urls) ? urls : []; @@ -401,7 +401,7 @@ ol.source.TileWMS.prototype.tileUrlFunction_ = /** * Update the user-provided params. * @param {Object} params Params. - * @api + * @api stable */ ol.source.TileWMS.prototype.updateParams = function(params) { goog.object.extend(this.params_, params); From 02dc7bcc9e96387306ce8706dfca7519a1a9b5fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:17:21 +0200 Subject: [PATCH 11/29] Add @api stable annotations for ol.source.Vector --- externs/olx.js | 2 +- src/ol/source/vectorsource.js | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 13083d582a..bb7b5d9075 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4639,7 +4639,7 @@ olx.source.TileWMSOptions.prototype.urls; * logo: (string|olx.LogoOptions|undefined), * projection: ol.proj.ProjectionLike, * state: (ol.source.State|string|undefined)}} - * @api + * @api stable */ olx.source.VectorOptions; diff --git a/src/ol/source/vectorsource.js b/src/ol/source/vectorsource.js index e2852fb7ac..aa2723274a 100644 --- a/src/ol/source/vectorsource.js +++ b/src/ol/source/vectorsource.js @@ -25,13 +25,13 @@ ol.source.VectorEventType = { /** * Triggered when a feature is added to the source. * @event ol.source.VectorEvent#addfeature - * @api + * @api stable */ ADDFEATURE: 'addfeature', /** * Triggered when a feature is removed from the source. * @event ol.source.VectorEvent#removefeature - * @api + * @api stable */ REMOVEFEATURE: 'removefeature' }; @@ -46,7 +46,7 @@ ol.source.VectorEventType = { * @extends {ol.source.Source} * @fires ol.source.VectorEvent * @param {olx.source.VectorOptions=} opt_options Vector source options. - * @api + * @api stable */ ol.source.Vector = function(opt_options) { @@ -102,7 +102,7 @@ goog.inherits(ol.source.Vector, ol.source.Source); /** * @param {ol.Feature} feature Feature. - * @api + * @api stable */ ol.source.Vector.prototype.addFeature = function(feature) { this.addFeatureInternal(feature); @@ -148,7 +148,7 @@ ol.source.Vector.prototype.addFeatureInternal = function(feature) { /** * @param {Array.} features Features. - * @api + * @api stable */ ol.source.Vector.prototype.addFeatures = function(features) { this.addFeaturesInternal(features); @@ -172,7 +172,7 @@ ol.source.Vector.prototype.addFeaturesInternal = function(features) { /** * Remove all features. - * @api + * @api stable */ ol.source.Vector.prototype.clear = function() { this.rBush_.forEach(this.removeFeatureInternal, this); @@ -190,7 +190,7 @@ ol.source.Vector.prototype.clear = function() { * @param {T=} opt_this The object to use as `this` in `f`. * @return {S|undefined} * @template T,S - * @api + * @api stable */ ol.source.Vector.prototype.forEachFeature = function(f, opt_this) { return this.rBush_.forEach(f, opt_this); @@ -249,7 +249,7 @@ ol.source.Vector.prototype.forEachFeatureInExtentAtResolution = /** * @return {Array.} Features. - * @api + * @api stable */ ol.source.Vector.prototype.getFeatures = function() { var features = this.rBush_.getAll(); @@ -264,7 +264,7 @@ ol.source.Vector.prototype.getFeatures = function() { /** * @param {ol.Coordinate} coordinate Coordinate. * @return {Array.} Features. - * @api + * @api stable */ ol.source.Vector.prototype.getFeaturesAtCoordinate = function(coordinate) { var features = []; @@ -287,7 +287,7 @@ ol.source.Vector.prototype.getFeaturesInExtent = function(extent) { /** * @param {ol.Coordinate} coordinate Coordinate. * @return {ol.Feature} Closest feature. - * @api + * @api stable */ ol.source.Vector.prototype.getClosestFeatureToCoordinate = function(coordinate) { @@ -334,7 +334,7 @@ ol.source.Vector.prototype.getClosestFeatureToCoordinate = /** * Get the extent of the features currently in the source. * @return {ol.Extent} Extent. - * @api + * @api stable */ ol.source.Vector.prototype.getExtent = function() { return this.rBush_.getExtent(); @@ -348,7 +348,7 @@ ol.source.Vector.prototype.getExtent = function() { * * @param {string|number} id Feature identifier. * @return {ol.Feature} The feature (or `null` if not found). - * @api + * @api stable */ ol.source.Vector.prototype.getFeatureById = function(id) { var feature = this.idIndex_[id.toString()]; @@ -426,7 +426,7 @@ ol.source.Vector.prototype.loadFeatures = goog.nullFunction; /** * @param {ol.Feature} feature Feature. - * @api + * @api stable */ ol.source.Vector.prototype.removeFeature = function(feature) { var featureKey = goog.getUid(feature).toString(); @@ -501,7 +501,7 @@ ol.source.VectorEvent = function(type, opt_feature) { /** * The feature being added or removed. * @type {ol.Feature|undefined} - * @api + * @api stable */ this.feature = opt_feature; From abe6fb76116befbbd52a81ac91e2fb2db05ee72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:18:03 +0200 Subject: [PATCH 12/29] Add @api stable annotations for ol.source.WMTS --- externs/olx.js | 2 +- src/ol/source/wmtssource.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index bb7b5d9075..dbfcb4af8f 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4807,7 +4807,7 @@ olx.source.StaticVectorOptions.prototype.urls; * maxZoom: (number|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * urls: (Array.|undefined)}} - * @api + * @api stable */ olx.source.WMTSOptions; diff --git a/src/ol/source/wmtssource.js b/src/ol/source/wmtssource.js index ea9f2ece48..8907628e0f 100644 --- a/src/ol/source/wmtssource.js +++ b/src/ol/source/wmtssource.js @@ -34,7 +34,7 @@ ol.source.WMTSRequestEncoding = { * @constructor * @extends {ol.source.TileImage} * @param {olx.source.WMTSOptions} options WMTS options. - * @api + * @api stable */ ol.source.WMTS = function(options) { @@ -196,7 +196,7 @@ goog.inherits(ol.source.WMTS, ol.source.TileImage); * "dimensions" option, and possibly updated using the updateDimensions * method. * @return {Object} Dimensions. - * @api + * @api stable */ ol.source.WMTS.prototype.getDimensions = function() { return this.dimensions_; @@ -227,7 +227,7 @@ ol.source.WMTS.prototype.resetCoordKeyPrefix_ = function() { /** * Update the dimensions. * @param {Object} dimensions Dimensions. - * @api + * @api stable */ ol.source.WMTS.prototype.updateDimensions = function(dimensions) { goog.object.extend(this.dimensions_, dimensions); From 50564f8d678b2aeff8245f5d4e1315dfc24e0d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:18:36 +0200 Subject: [PATCH 13/29] Remove ol.source.WMTS.optionsFromCapabilities from the API --- src/ol/source/wmtssource.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ol/source/wmtssource.js b/src/ol/source/wmtssource.js index 8907628e0f..0ee1474166 100644 --- a/src/ol/source/wmtssource.js +++ b/src/ol/source/wmtssource.js @@ -240,7 +240,6 @@ ol.source.WMTS.prototype.updateDimensions = function(dimensions) { * @param {Object} wmtsCap An object representing the capabilities document. * @param {string} layer The layer identifier. * @return {olx.source.WMTSOptions} WMTS source options object. - * @api */ ol.source.WMTS.optionsFromCapabilities = function(wmtsCap, layer) { From 0fc4d0de9885f4f383bcb7bb7caab19fee5aca2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:19:07 +0200 Subject: [PATCH 14/29] Add @api stable annotations for ol.source.XYZ --- externs/olx.js | 2 +- src/ol/source/xyzsource.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index dbfcb4af8f..6d40972245 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4964,7 +4964,7 @@ olx.source.WMTSOptions.prototype.urls; * url: (string|undefined), * urls: (Array.|undefined), * wrapX: (boolean|undefined)}} - * @api + * @api stable */ olx.source.XYZOptions; diff --git a/src/ol/source/xyzsource.js b/src/ol/source/xyzsource.js index ab72d2bac7..105c1c379c 100644 --- a/src/ol/source/xyzsource.js +++ b/src/ol/source/xyzsource.js @@ -14,7 +14,7 @@ goog.require('ol.tilegrid.XYZ'); * @constructor * @extends {ol.source.TileImage} * @param {olx.source.XYZOptions} options XYZ options. - * @api + * @api stable */ ol.source.XYZ = function(options) { var projection = goog.isDef(options.projection) ? @@ -69,7 +69,7 @@ ol.source.XYZ.prototype.setTileUrlFunction = function(tileUrlFunction) { /** * @param {string} url URL. - * @api + * @api stable */ ol.source.XYZ.prototype.setUrl = function(url) { this.setTileUrlFunction(ol.TileUrlFunction.createFromTemplates( From 72aa61885afe5a29dce275cc9cf47b5b25db177c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 18 Aug 2014 18:19:39 +0200 Subject: [PATCH 15/29] Add @api stable annotations for ol.source.Zoomify --- externs/olx.js | 2 +- src/ol/source/zoomifysource.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 6d40972245..dfa70d816f 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -5076,7 +5076,7 @@ olx.source.XYZOptions.prototype.wrapX; * url: !string, * tierSizeCalculation: (string|undefined), * size: ol.Size}} - * @api + * @api stable */ olx.source.ZoomifyOptions; diff --git a/src/ol/source/zoomifysource.js b/src/ol/source/zoomifysource.js index dec0f4fcc9..7c7bd3dd79 100644 --- a/src/ol/source/zoomifysource.js +++ b/src/ol/source/zoomifysource.js @@ -29,7 +29,7 @@ ol.source.ZoomifyTierSizeCalculation = { * @constructor * @extends {ol.source.TileImage} * @param {olx.source.ZoomifyOptions=} opt_options Options. - * @api + * @api stable */ ol.source.Zoomify = function(opt_options) { From 3049b56db1886b95911478081dc46c35224a2e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:03:49 +0200 Subject: [PATCH 16/29] Add @api stable annotations for olx.source.BingMapsOptions --- externs/olx.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index dfa70d816f..f7933d1d0f 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3000,7 +3000,7 @@ olx.FeatureOverlayOptions.prototype.style; * key: string, * imagerySet: string, * tileLoadFunction: (ol.TileLoadFunctionType|undefined)}} - * @api stable + * @api */ olx.source.BingMapsOptions; @@ -3008,7 +3008,7 @@ olx.source.BingMapsOptions; /** * Culture code. Default is `en-us`. * @type {string|undefined} - * @api + * @api stable */ olx.source.BingMapsOptions.prototype.culture; @@ -3016,7 +3016,7 @@ olx.source.BingMapsOptions.prototype.culture; /** * Bing Maps API key. Get yours at http://bingmapsportal.com/. * @type {string} - * @api + * @api stable */ olx.source.BingMapsOptions.prototype.key; @@ -3024,7 +3024,7 @@ olx.source.BingMapsOptions.prototype.key; /** * Type of imagery. * @type {string} - * @api + * @api stable */ olx.source.BingMapsOptions.prototype.imagerySet; From a7a255c235e37d6395a8c5683ae65462dc5411ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:15:14 +0200 Subject: [PATCH 17/29] Add @api stable annotations for olx.source.ImageStaticOptions --- externs/olx.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index f7933d1d0f..f445d34119 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4339,7 +4339,7 @@ olx.source.StamenOptions.prototype.url; * logo: (string|olx.LogoOptions|undefined), * projection: ol.proj.ProjectionLike, * url: string}} - * @api stable + * @api */ olx.source.ImageStaticOptions; @@ -4347,7 +4347,7 @@ olx.source.ImageStaticOptions; /** * Attributions. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.ImageStaticOptions.prototype.attributions; @@ -4355,7 +4355,7 @@ olx.source.ImageStaticOptions.prototype.attributions; /** * crossOrigin setting for image requests. * @type {null|string|undefined} - * @api + * @api stable */ olx.source.ImageStaticOptions.prototype.crossOrigin; @@ -4363,7 +4363,7 @@ olx.source.ImageStaticOptions.prototype.crossOrigin; /** * Extent of the image. * @type {ol.Extent|undefined} - * @api + * @api stable */ olx.source.ImageStaticOptions.prototype.imageExtent; @@ -4371,7 +4371,7 @@ olx.source.ImageStaticOptions.prototype.imageExtent; /** * Size of the image. * @type {ol.Size|undefined} - * @api + * @api stable */ olx.source.ImageStaticOptions.prototype.imageSize; @@ -4379,7 +4379,7 @@ olx.source.ImageStaticOptions.prototype.imageSize; /** * Logo. * @type {string|olx.LogoOptions|undefined} - * @api + * @api stable */ olx.source.ImageStaticOptions.prototype.logo; @@ -4395,7 +4395,7 @@ olx.source.ImageStaticOptions.prototype.projection; /** * Url. * @type {string} - * @api + * @api stable */ olx.source.ImageStaticOptions.prototype.url; From 67c44b4e9e5e915f499a37350e1e62166522c587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:17:23 +0200 Subject: [PATCH 18/29] Add @api stable annotations for olx.source.ImageWMSOptions --- externs/olx.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index f445d34119..02a0a86b8b 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4181,7 +4181,7 @@ olx.source.ImageVectorOptions.prototype.style; * ratio: (number|undefined), * resolutions: (Array.|undefined), * url: (string|undefined)}} - * @api stable + * @api */ olx.source.ImageWMSOptions; @@ -4189,7 +4189,7 @@ olx.source.ImageWMSOptions; /** * Attributions. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.ImageWMSOptions.prototype.attributions; @@ -4197,7 +4197,7 @@ olx.source.ImageWMSOptions.prototype.attributions; /** * crossOrigin setting for image requests. * @type {null|string|undefined} - * @api + * @api stable */ olx.source.ImageWMSOptions.prototype.crossOrigin; @@ -4223,7 +4223,7 @@ olx.source.ImageWMSOptions.prototype.serverType; /** * Logo. * @type {string|olx.LogoOptions|undefined} - * @api + * @api stable */ olx.source.ImageWMSOptions.prototype.logo; @@ -4233,7 +4233,7 @@ olx.source.ImageWMSOptions.prototype.logo; * `''` by default. `VERSION` is `1.3.0` by default. `WIDTH`, `HEIGHT`, `BBOX` * and `CRS` (`SRS` for WMS version < 1.3.0) will be set dynamically. * @type {Object.} - * @api + * @api stable */ olx.source.ImageWMSOptions.prototype.params; @@ -4250,7 +4250,7 @@ olx.source.ImageWMSOptions.prototype.projection; * Ratio. `1` means image requests are the size of the map viewport, `2` means * twice the size of the map viewport, and so on. Default is `1.5`. * @type {number|undefined} - * @api + * @api stable */ olx.source.ImageWMSOptions.prototype.ratio; @@ -4258,7 +4258,7 @@ olx.source.ImageWMSOptions.prototype.ratio; /** * Resolutions. If specified, requests will be made for these resolutions only. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.ImageWMSOptions.prototype.resolutions; @@ -4266,7 +4266,7 @@ olx.source.ImageWMSOptions.prototype.resolutions; /** * WMS service URL. * @type {string|undefined} - * @api + * @api stable */ olx.source.ImageWMSOptions.prototype.url; From 580943e700d913ad453c7a170c521bff667b09a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:24:15 +0200 Subject: [PATCH 19/29] Add @api stable annotations for olx.source.MapQuestOptions --- externs/olx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 02a0a86b8b..2b38fd7549 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3827,7 +3827,7 @@ olx.source.KMLOptions.prototype.urls; /** * @typedef {{layer: string, * tileLoadFunction: (ol.TileLoadFunctionType|undefined)}} - * @api stable + * @api */ olx.source.MapQuestOptions; @@ -3835,7 +3835,7 @@ olx.source.MapQuestOptions; /** * Layer. Possible values are `osm`, `sat`, and `hyb`. * @type {string} - * @api + * @api stable */ olx.source.MapQuestOptions.prototype.layer; From 6bbb699771ca821406bb928469181bac499df848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:25:03 +0200 Subject: [PATCH 20/29] Add @api stable annotations for olx.source.OSMOptions --- externs/olx.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 2b38fd7549..e8332865e1 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3878,7 +3878,7 @@ olx.source.TileDebugOptions.prototype.tileGrid; * maxZoom: (number|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: (string|undefined)}} - * @api stable + * @api */ olx.source.OSMOptions; @@ -3886,7 +3886,7 @@ olx.source.OSMOptions; /** * Attributions. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.OSMOptions.prototype.attributions; @@ -3894,7 +3894,7 @@ olx.source.OSMOptions.prototype.attributions; /** * crossOrigin setting for image requests. Default is `anonymous`. * @type {null|string|undefined} - * @api + * @api stable */ olx.source.OSMOptions.prototype.crossOrigin; @@ -3919,7 +3919,7 @@ olx.source.OSMOptions.prototype.tileLoadFunction; * URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders. * Default is `//{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png`. * @type {string|undefined} - * @api + * @api stable */ olx.source.OSMOptions.prototype.url; From 6724e1520f5ac1da9457401b226d09d732d1e001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:26:35 +0200 Subject: [PATCH 21/29] Add @api stable annotations for olx.source.StamenOptions --- externs/olx.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index e8332865e1..b61787dc23 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4278,7 +4278,7 @@ olx.source.ImageWMSOptions.prototype.url; * opaque: (boolean|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: (string|undefined)}} - * @api stable + * @api */ olx.source.StamenOptions; @@ -4286,7 +4286,7 @@ olx.source.StamenOptions; /** * Layer. * @type {string} - * @api + * @api stable */ olx.source.StamenOptions.prototype.layer; @@ -4326,7 +4326,7 @@ olx.source.StamenOptions.prototype.tileLoadFunction; /** * URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders. * @type {string|undefined} - * @api + * @api stable */ olx.source.StamenOptions.prototype.url; From 328f049d04a2549af99b9dc7749d5ea09f2c1720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:27:06 +0200 Subject: [PATCH 22/29] Add @api stable annotations for olx.source.TileJSONOptions --- externs/olx.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index b61787dc23..fe96ad4a2c 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4465,7 +4465,7 @@ olx.source.ServerVectorOptions.prototype.projection; * @typedef {{crossOrigin: (null|string|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: string}} - * @api stable + * @api */ olx.source.TileJSONOptions; @@ -4473,7 +4473,7 @@ olx.source.TileJSONOptions; /** * crossOrigin setting for image requests. * @type {null|string|undefined} - * @api + * @api stable */ olx.source.TileJSONOptions.prototype.crossOrigin; @@ -4489,7 +4489,7 @@ olx.source.TileJSONOptions.prototype.tileLoadFunction; /** * URL to the TileJSON file. * @type {string} - * @api + * @api stable */ olx.source.TileJSONOptions.prototype.url; From 3ee72c35a628d27a853ccd62f142ac76bf6225b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:29:37 +0200 Subject: [PATCH 23/29] Add @api stable annotations for olx.source.TileWMSOptions --- externs/olx.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index fe96ad4a2c..17cad2192c 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4508,7 +4508,7 @@ olx.source.TileJSONOptions.prototype.url; * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: (string|undefined), * urls: (Array.|undefined)}} - * @api stable + * @api */ olx.source.TileWMSOptions; @@ -4516,7 +4516,7 @@ olx.source.TileWMSOptions; /** * Attributions. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.TileWMSOptions.prototype.attributions; @@ -4526,7 +4526,7 @@ olx.source.TileWMSOptions.prototype.attributions; * `''` by default. `VERSION` is `1.3.0` by default. `WIDTH`, `HEIGHT`, `BBOX` * and `CRS` (`SRS` for WMS version < 1.3.0) will be set dynamically. * @type {Object.} - * @api + * @api stable */ olx.source.TileWMSOptions.prototype.params; @@ -4534,7 +4534,7 @@ olx.source.TileWMSOptions.prototype.params; /** * crossOrigin setting for image requests. * @type {null|string|undefined} - * @api + * @api stable */ olx.source.TileWMSOptions.prototype.crossOrigin; @@ -4549,7 +4549,7 @@ olx.source.TileWMSOptions.prototype.crossOrigin; * example, MapServer has a `tile_map_edge_buffer` configuration parameter for * this. See http://mapserver.org/output/tile_mode.html. * @type {number|undefined} - * @api + * @api stable */ olx.source.TileWMSOptions.prototype.gutter; @@ -4566,7 +4566,7 @@ olx.source.TileWMSOptions.prototype.hidpi; /** * Logo. * @type {string|olx.LogoOptions|undefined} - * @api + * @api stable */ olx.source.TileWMSOptions.prototype.logo; @@ -4578,7 +4578,7 @@ olx.source.TileWMSOptions.prototype.logo; * extent, the grid will be based on that; if not, a grid based on a global * extent with origin at 0,0 will be used. * @type {ol.tilegrid.TileGrid|undefined} - * @api + * @api stable */ olx.source.TileWMSOptions.prototype.tileGrid; @@ -4619,7 +4619,7 @@ olx.source.TileWMSOptions.prototype.tileLoadFunction; /** * WMS service URL. * @type {string|undefined} - * @api + * @api stable */ olx.source.TileWMSOptions.prototype.url; @@ -4628,7 +4628,7 @@ olx.source.TileWMSOptions.prototype.url; * WMS service urls. Use this instead of `url` when the WMS supports multiple * urls for GetMap requests. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.TileWMSOptions.prototype.urls; From 96d91c684ec3896e49679e748d8182bf4147eb1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:34:53 +0200 Subject: [PATCH 24/29] Add @api stable annotations for olx.source.VectorOptions --- externs/olx.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 17cad2192c..161dbe03da 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4639,7 +4639,7 @@ olx.source.TileWMSOptions.prototype.urls; * logo: (string|olx.LogoOptions|undefined), * projection: ol.proj.ProjectionLike, * state: (ol.source.State|string|undefined)}} - * @api stable + * @api */ olx.source.VectorOptions; @@ -4647,7 +4647,7 @@ olx.source.VectorOptions; /** * Attributions. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.VectorOptions.prototype.attributions; @@ -4655,7 +4655,7 @@ olx.source.VectorOptions.prototype.attributions; /** * Features. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.VectorOptions.prototype.features; @@ -4663,7 +4663,7 @@ olx.source.VectorOptions.prototype.features; /** * Logo. * @type {string|olx.LogoOptions|undefined} - * @api + * @api stable */ olx.source.VectorOptions.prototype.logo; From 895694e8e8eb2ef536de251ad06d7fbb0d44404e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:38:21 +0200 Subject: [PATCH 25/29] Add @api stable annotations for olx.source.WMTSOptions --- externs/olx.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 161dbe03da..9729e087dd 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4807,7 +4807,7 @@ olx.source.StaticVectorOptions.prototype.urls; * maxZoom: (number|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * urls: (Array.|undefined)}} - * @api stable + * @api */ olx.source.WMTSOptions; @@ -4815,7 +4815,7 @@ olx.source.WMTSOptions; /** * Attributions. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.attributions; @@ -4823,7 +4823,7 @@ olx.source.WMTSOptions.prototype.attributions; /** * crossOrigin setting for image requests. * @type {string|null|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.crossOrigin; @@ -4831,7 +4831,7 @@ olx.source.WMTSOptions.prototype.crossOrigin; /** * Logo. * @type {string|olx.LogoOptions|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.logo; @@ -4839,7 +4839,7 @@ olx.source.WMTSOptions.prototype.logo; /** * Tile grid. * @type {ol.tilegrid.WMTS} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.tileGrid; @@ -4855,7 +4855,7 @@ olx.source.WMTSOptions.prototype.projection; /** * Request encoding. * @type {ol.source.WMTSRequestEncoding|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.requestEncoding; @@ -4863,7 +4863,7 @@ olx.source.WMTSOptions.prototype.requestEncoding; /** * Layer. * @type {string} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.layer; @@ -4871,7 +4871,7 @@ olx.source.WMTSOptions.prototype.layer; /** * Style. * @type {string} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.style; @@ -4890,7 +4890,7 @@ olx.source.WMTSOptions.prototype.tilePixelRatio; /** * WMTS version. Default is `1.0.0`. * @type {string|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.version; @@ -4898,7 +4898,7 @@ olx.source.WMTSOptions.prototype.version; /** * Image format. Default is `image/jpeg`. * @type {string|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.format; @@ -4906,7 +4906,7 @@ olx.source.WMTSOptions.prototype.format; /** * Matrix set. * @type {string} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.matrixSet; @@ -4914,7 +4914,7 @@ olx.source.WMTSOptions.prototype.matrixSet; /** * Dimensions. * @type {Object|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.dimensions; @@ -4922,7 +4922,7 @@ olx.source.WMTSOptions.prototype.dimensions; /** * URL. * @type {string|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.url; @@ -4946,7 +4946,7 @@ olx.source.WMTSOptions.prototype.tileLoadFunction; /** * Urls. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.WMTSOptions.prototype.urls; From b5dcfeac42120a9f71f372b1a2908e80ec9d66f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:41:38 +0200 Subject: [PATCH 26/29] Add @api stable annotations for olx.source.XYZOptions --- externs/olx.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 9729e087dd..8ce5a7c407 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4964,7 +4964,7 @@ olx.source.WMTSOptions.prototype.urls; * url: (string|undefined), * urls: (Array.|undefined), * wrapX: (boolean|undefined)}} - * @api stable + * @api */ olx.source.XYZOptions; @@ -4972,7 +4972,7 @@ olx.source.XYZOptions; /** * Attributions. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.XYZOptions.prototype.attributions; @@ -4980,7 +4980,7 @@ olx.source.XYZOptions.prototype.attributions; /** * Cross origin setting for image requests. * @type {null|string|undefined} - * @api + * @api stable */ olx.source.XYZOptions.prototype.crossOrigin; @@ -4988,7 +4988,7 @@ olx.source.XYZOptions.prototype.crossOrigin; /** * Logo. * @type {string|olx.LogoOptions|undefined} - * @api + * @api stable */ olx.source.XYZOptions.prototype.logo; @@ -5048,7 +5048,7 @@ olx.source.XYZOptions.prototype.tileUrlFunction; /** * URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders. * @type {string|undefined} - * @api + * @api stable */ olx.source.XYZOptions.prototype.url; @@ -5056,7 +5056,7 @@ olx.source.XYZOptions.prototype.url; /** * An array of URL templates. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.XYZOptions.prototype.urls; From 495d807abac8bc6359ca3dbde28248ba3f4110c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 10:43:01 +0200 Subject: [PATCH 27/29] Add @api stable annotations for olx.source.ZoomifyOptions --- externs/olx.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 8ce5a7c407..bbe1da91ae 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -5076,7 +5076,7 @@ olx.source.XYZOptions.prototype.wrapX; * url: !string, * tierSizeCalculation: (string|undefined), * size: ol.Size}} - * @api stable + * @api */ olx.source.ZoomifyOptions; @@ -5084,7 +5084,7 @@ olx.source.ZoomifyOptions; /** * Attributions. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.ZoomifyOptions.prototype.attributions; @@ -5092,7 +5092,7 @@ olx.source.ZoomifyOptions.prototype.attributions; /** * Cross origin setting for image requests. * @type {null|string|undefined} - * @api + * @api stable */ olx.source.ZoomifyOptions.prototype.crossOrigin; @@ -5100,7 +5100,7 @@ olx.source.ZoomifyOptions.prototype.crossOrigin; /** * Logo. * @type {string|olx.LogoOptions|undefined} - * @api + * @api stable */ olx.source.ZoomifyOptions.prototype.logo; @@ -5108,7 +5108,7 @@ olx.source.ZoomifyOptions.prototype.logo; /** * Prefix of URL template. * @type {!string} - * @api + * @api stable */ olx.source.ZoomifyOptions.prototype.url; @@ -5116,7 +5116,7 @@ olx.source.ZoomifyOptions.prototype.url; /** * Tier size calculation method: `default` or `truncated`. * @type {string|undefined} - * @api + * @api stable */ olx.source.ZoomifyOptions.prototype.tierSizeCalculation; @@ -5124,7 +5124,7 @@ olx.source.ZoomifyOptions.prototype.tierSizeCalculation; /** * Size of the image. * @type {ol.Size} - * @api + * @api stable */ olx.source.ZoomifyOptions.prototype.size; From daf7715bc64c37b09da768dae840a0548b4ffa3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 11:07:35 +0200 Subject: [PATCH 28/29] Add @api stable annotations for ol.source.ImageMapGuide --- src/ol/source/imagemapguidesource.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/source/imagemapguidesource.js b/src/ol/source/imagemapguidesource.js index c8d1b629db..7416254805 100644 --- a/src/ol/source/imagemapguidesource.js +++ b/src/ol/source/imagemapguidesource.js @@ -16,7 +16,7 @@ goog.require('ol.source.Image'); * @constructor * @extends {ol.source.Image} * @param {olx.source.ImageMapGuideOptions} options Options. - * @api + * @api stable */ ol.source.ImageMapGuide = function(options) { @@ -105,7 +105,7 @@ goog.inherits(ol.source.ImageMapGuide, ol.source.Image); * Get the user-provided params, i.e. those passed to the constructor through * the "params" option, and possibly updated using the updateParams method. * @return {Object} Params. - * @api + * @api stable */ ol.source.ImageMapGuide.prototype.getParams = function() { return this.params_; @@ -175,7 +175,7 @@ ol.source.ImageMapGuide.getScale = function(extent, size, metersPerUnit, dpi) { /** * Update the user-provided params. * @param {Object} params Params. - * @api + * @api stable */ ol.source.ImageMapGuide.prototype.updateParams = function(params) { goog.object.extend(this.params_, params); From 54ff843075427308749c7a9f6bd829b287ac84bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 22 Aug 2014 11:08:50 +0200 Subject: [PATCH 29/29] Add @api stable annotations for olx.source.ImageMapGuideOptions --- externs/olx.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index bbe1da91ae..e23f894e37 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -3656,7 +3656,7 @@ olx.source.ImageMapGuideOptions; /** * The mapagent url. * @type {string|undefined} - * @api + * @api stable */ olx.source.ImageMapGuideOptions.prototype.url; @@ -3664,7 +3664,7 @@ olx.source.ImageMapGuideOptions.prototype.url; /** * The display resolution. Default is `96`. * @type {number|undefined} - * @api + * @api stable */ olx.source.ImageMapGuideOptions.prototype.displayDpi; @@ -3672,7 +3672,7 @@ olx.source.ImageMapGuideOptions.prototype.displayDpi; /** * The meters-per-unit value. Default is `1`. * @type {number|undefined} - * @api + * @api stable */ olx.source.ImageMapGuideOptions.prototype.metersPerUnit; @@ -3689,7 +3689,7 @@ olx.source.ImageMapGuideOptions.prototype.hidpi; /** * If `true`, will use `GETDYNAMICMAPOVERLAYIMAGE`. * @type {boolean|undefined} - * @api + * @api stable */ olx.source.ImageMapGuideOptions.prototype.useOverlay; @@ -3706,7 +3706,7 @@ olx.source.ImageMapGuideOptions.prototype.projection; * Ratio. `1` means image requests are the size of the map viewport, `2` means * twice the size of the map viewport, and so on. Default is `1`. * @type {number|undefined} - * @api + * @api stable */ olx.source.ImageMapGuideOptions.prototype.ratio; @@ -3714,7 +3714,7 @@ olx.source.ImageMapGuideOptions.prototype.ratio; /** * Resolutions. If specified, requests will be made for these resolutions only. * @type {Array.|undefined} - * @api + * @api stable */ olx.source.ImageMapGuideOptions.prototype.resolutions; @@ -3722,7 +3722,7 @@ olx.source.ImageMapGuideOptions.prototype.resolutions; /** * Additional parameters. * @type {Object|undefined} - * @api + * @api stable */ olx.source.ImageMapGuideOptions.prototype.params;