Add @api stable annotations for ol.source.XYZ
This commit is contained in:
+1
-1
@@ -4964,7 +4964,7 @@ olx.source.WMTSOptions.prototype.urls;
|
|||||||
* url: (string|undefined),
|
* url: (string|undefined),
|
||||||
* urls: (Array.<string>|undefined),
|
* urls: (Array.<string>|undefined),
|
||||||
* wrapX: (boolean|undefined)}}
|
* wrapX: (boolean|undefined)}}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.source.XYZOptions;
|
olx.source.XYZOptions;
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ goog.require('ol.tilegrid.XYZ');
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.source.TileImage}
|
* @extends {ol.source.TileImage}
|
||||||
* @param {olx.source.XYZOptions} options XYZ options.
|
* @param {olx.source.XYZOptions} options XYZ options.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.source.XYZ = function(options) {
|
ol.source.XYZ = function(options) {
|
||||||
var projection = goog.isDef(options.projection) ?
|
var projection = goog.isDef(options.projection) ?
|
||||||
@@ -69,7 +69,7 @@ ol.source.XYZ.prototype.setTileUrlFunction = function(tileUrlFunction) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} url URL.
|
* @param {string} url URL.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.source.XYZ.prototype.setUrl = function(url) {
|
ol.source.XYZ.prototype.setUrl = function(url) {
|
||||||
this.setTileUrlFunction(ol.TileUrlFunction.createFromTemplates(
|
this.setTileUrlFunction(ol.TileUrlFunction.createFromTemplates(
|
||||||
|
|||||||
Reference in New Issue
Block a user