Addressing review comments regarding typeDef
This commit is contained in:
@@ -61,9 +61,10 @@
|
|||||||
@exportObjectLiteralProperty ol.source.BingMapsOptions.style ol.BingMapsStyle
|
@exportObjectLiteralProperty ol.source.BingMapsOptions.style ol.BingMapsStyle
|
||||||
|
|
||||||
@exportObjectLiteral ol.source.TiledWMSOptions
|
@exportObjectLiteral ol.source.TiledWMSOptions
|
||||||
|
@exportObjectLiteralProperty ol.source.TiledWMSOptions.attributions Array.<ol.Attribution>|undefined
|
||||||
@exportObjectLiteralProperty ol.source.TiledWMSOptions.params Object
|
@exportObjectLiteralProperty ol.source.TiledWMSOptions.params Object
|
||||||
@exportObjectLiteralProperty ol.source.TiledWMSOptions.version string|undefined
|
@exportObjectLiteralProperty ol.source.TiledWMSOptions.version string|undefined
|
||||||
@exportObjectLiteralProperty ol.source.TiledWMSOptions.crossOrigin string|undefined
|
@exportObjectLiteralProperty ol.source.TiledWMSOptions.crossOrigin null|string|undefined
|
||||||
@exportObjectLiteralProperty ol.source.TiledWMSOptions.extent ol.Extent|undefined
|
@exportObjectLiteralProperty ol.source.TiledWMSOptions.extent ol.Extent|undefined
|
||||||
@exportObjectLiteralProperty ol.source.TiledWMSOptions.tileGrid ol.tilegrid.TileGrid|undefined
|
@exportObjectLiteralProperty ol.source.TiledWMSOptions.tileGrid ol.tilegrid.TileGrid|undefined
|
||||||
@exportObjectLiteralProperty ol.source.TiledWMSOptions.maxZoom number|undefined
|
@exportObjectLiteralProperty ol.source.TiledWMSOptions.maxZoom number|undefined
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// FIXME add minZoom support
|
// FIXME add minZoom support
|
||||||
|
|
||||||
goog.provide('ol.source.TiledWMS');
|
goog.provide('ol.source.TiledWMS');
|
||||||
goog.provide('ol.source.TiledWMSOptions');
|
|
||||||
|
|
||||||
goog.require('goog.asserts');
|
goog.require('goog.asserts');
|
||||||
goog.require('goog.object');
|
goog.require('goog.object');
|
||||||
@@ -13,21 +12,6 @@ goog.require('ol.source.TileSource');
|
|||||||
goog.require('ol.tilegrid.TileGrid');
|
goog.require('ol.tilegrid.TileGrid');
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
|
|
||||||
* params: Object,
|
|
||||||
* version: (string|undefined),
|
|
||||||
* crossOrigin: (null|string|undefined),
|
|
||||||
* extent: (ol.Extent|undefined),
|
|
||||||
* tileGrid: (ol.tilegrid.TileGrid|undefined),
|
|
||||||
* maxZoom: (number|undefined),
|
|
||||||
* projection: (ol.Projection|undefined),
|
|
||||||
* url: (string|undefined),
|
|
||||||
* urls: (Array.<string>|undefined)}}
|
|
||||||
*/
|
|
||||||
ol.source.TiledWMSOptions;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @constructor
|
* @constructor
|
||||||
|
|||||||
Reference in New Issue
Block a user