Addressing review comments regarding typeDef

This commit is contained in:
ahocevar
2012-10-29 09:44:25 +01:00
parent 393bb36784
commit e157d17ab7
2 changed files with 2 additions and 17 deletions

View File

@@ -61,9 +61,10 @@
@exportObjectLiteralProperty ol.source.BingMapsOptions.style ol.BingMapsStyle
@exportObjectLiteral ol.source.TiledWMSOptions
@exportObjectLiteralProperty ol.source.TiledWMSOptions.attributions Array.<ol.Attribution>|undefined
@exportObjectLiteralProperty ol.source.TiledWMSOptions.params Object
@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.tileGrid ol.tilegrid.TileGrid|undefined
@exportObjectLiteralProperty ol.source.TiledWMSOptions.maxZoom number|undefined

View File

@@ -1,7 +1,6 @@
// FIXME add minZoom support
goog.provide('ol.source.TiledWMS');
goog.provide('ol.source.TiledWMSOptions');
goog.require('goog.asserts');
goog.require('goog.object');
@@ -13,21 +12,6 @@ goog.require('ol.source.TileSource');
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