Merge pull request #4532 from fredj/dimensions_nonull
Mark olx.source.WMTSOptions#dimensions as not null
This commit is contained in:
+2
-2
@@ -5537,7 +5537,7 @@ olx.source.VectorOptions.prototype.wrapX;
|
|||||||
* version: (string|undefined),
|
* version: (string|undefined),
|
||||||
* format: (string|undefined),
|
* format: (string|undefined),
|
||||||
* matrixSet: string,
|
* matrixSet: string,
|
||||||
* dimensions: (Object|undefined),
|
* dimensions: (!Object|undefined),
|
||||||
* url: (string|undefined),
|
* url: (string|undefined),
|
||||||
* maxZoom: (number|undefined),
|
* maxZoom: (number|undefined),
|
||||||
* tileLoadFunction: (ol.TileLoadFunctionType|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
|
* Additional "dimensions" for tile requests. This is an object with properties
|
||||||
* named like the advertised WMTS dimensions.
|
* named like the advertised WMTS dimensions.
|
||||||
* @type {Object|undefined}
|
* @type {!Object|undefined}
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.source.WMTSOptions.prototype.dimensions;
|
olx.source.WMTSOptions.prototype.dimensions;
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ ol.source.WMTS = function(options) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {Object}
|
* @type {!Object}
|
||||||
*/
|
*/
|
||||||
this.dimensions_ = options.dimensions !== undefined ? options.dimensions : {};
|
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
|
* Get the dimensions, i.e. those passed to the constructor through the
|
||||||
* "dimensions" option, and possibly updated using the updateDimensions
|
* "dimensions" option, and possibly updated using the updateDimensions
|
||||||
* method.
|
* method.
|
||||||
* @return {Object} Dimensions.
|
* @return {!Object} Dimensions.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.source.WMTS.prototype.getDimensions = function() {
|
ol.source.WMTS.prototype.getDimensions = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user