Mark olx.source.WMTSOptions#dimensions as not null
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user