diff --git a/src/objectliterals.exports b/src/objectliterals.exports index 171672ef67..7e1f62a30d 100644 --- a/src/objectliterals.exports +++ b/src/objectliterals.exports @@ -51,6 +51,11 @@ @exportObjectLiteralProperty ol.source.BingMapsOptions.key string @exportObjectLiteralProperty ol.source.BingMapsOptions.style ol.BingMapsStyle +@exportObjectLiteral ol.source.DebugTileSourceOptions +@exportObjectLiteralProperty ol.source.DebugTileSourceOptions.extent ol.Extent|undefined +@exportObjectLiteralProperty ol.source.DebugTileSourceOptions.projection ol.Projection|undefined +@exportObjectLiteralProperty ol.source.DebugTileSourceOptions.tileGrid ol.tilegrid.TileGrid|undefined + @exportObjectLiteral ol.source.StamenOptions @exportObjectLiteralProperty ol.source.StamenOptions.flavor string|undefined @exportObjectLiteralProperty ol.source.StamenOptions.provider string diff --git a/src/ol/source/debugtilesource.exports b/src/ol/source/debugtilesource.exports new file mode 100644 index 0000000000..2c74b974f3 --- /dev/null +++ b/src/ol/source/debugtilesource.exports @@ -0,0 +1 @@ +@exportClass ol.source.DebugTileSource ol.source.DebugTileSourceOptions diff --git a/src/ol/source/debugtilesource.js b/src/ol/source/debugtilesource.js index cfe149bb20..452cf5085a 100644 --- a/src/ol/source/debugtilesource.js +++ b/src/ol/source/debugtilesource.js @@ -1,5 +1,4 @@ goog.provide('ol.source.DebugTileSource'); -goog.provide('ol.source.DebugTileSourceOptions'); goog.require('ol.Size'); goog.require('ol.Tile'); @@ -79,14 +78,6 @@ ol.DebugTile_.prototype.getImage = function(opt_context) { }; -/** - * @typedef {{extent: (ol.Extent|undefined), - * projection: (ol.Projection|undefined), - * tileGrid: (ol.tilegrid.TileGrid|undefined)}} - */ -ol.source.DebugTileSourceOptions; - - /** * @constructor