Mark olx.source.WMTSOptions#dimensions as not null

This commit is contained in:
Frederic Junod
2015-12-08 17:45:37 +01:00
parent f387bb75bf
commit 5b7227a0bf
2 changed files with 4 additions and 4 deletions

View File

@@ -5537,7 +5537,7 @@ olx.source.VectorOptions.prototype.wrapX;
* version: (string|undefined),
* format: (string|undefined),
* matrixSet: string,
* dimensions: (Object|undefined),
* dimensions: (!Object|undefined),
* url: (string|undefined),
* maxZoom: (number|undefined),
* tileLoadFunction: (ol.TileLoadFunctionType|undefined),
@@ -5676,7 +5676,7 @@ olx.source.WMTSOptions.prototype.matrixSet;
/**
* Additional "dimensions" for tile requests. This is an object with properties
* named like the advertised WMTS dimensions.
* @type {Object|undefined}
* @type {!Object|undefined}
* @api stable
*/
olx.source.WMTSOptions.prototype.dimensions;

View File

@@ -53,7 +53,7 @@ ol.source.WMTS = function(options) {
/**
* @private
* @type {Object}
* @type {!Object}
*/
this.dimensions_ = options.dimensions !== undefined ? options.dimensions : {};
@@ -197,7 +197,7 @@ goog.inherits(ol.source.WMTS, ol.source.TileImage);
* Get the dimensions, i.e. those passed to the constructor through the
* "dimensions" option, and possibly updated using the updateDimensions
* method.
* @return {Object} Dimensions.
* @return {!Object} Dimensions.
* @api
*/
ol.source.WMTS.prototype.getDimensions = function() {