Autofix indentation issues (eslint --fix)
This commit is contained in:
@@ -87,8 +87,8 @@ ol.tilegrid.TileGrid = function(options) {
|
||||
* @type {number|ol.Size}
|
||||
*/
|
||||
this.tileSize_ = options.tileSize !== undefined ?
|
||||
options.tileSize :
|
||||
!this.tileSizes_ ? ol.DEFAULT_TILE_SIZE : null;
|
||||
options.tileSize :
|
||||
!this.tileSizes_ ? ol.DEFAULT_TILE_SIZE : null;
|
||||
ol.asserts.assert(
|
||||
(!this.tileSize_ && this.tileSizes_) ||
|
||||
(this.tileSize_ && !this.tileSizes_),
|
||||
|
||||
@@ -69,7 +69,7 @@ ol.tilegrid.WMTS.prototype.getMatrixIds = function() {
|
||||
* @api
|
||||
*/
|
||||
ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet = function(matrixSet, opt_extent,
|
||||
opt_matrixLimits) {
|
||||
opt_matrixLimits) {
|
||||
|
||||
/** @type {!Array.<number>} */
|
||||
var resolutions = [];
|
||||
@@ -130,7 +130,7 @@ ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet = function(matrixSet, opt_exten
|
||||
}
|
||||
resolutions.push(resolution);
|
||||
tileSizes.push(tileWidth == tileHeight ?
|
||||
tileWidth : [tileWidth, tileHeight]);
|
||||
tileWidth : [tileWidth, tileHeight]);
|
||||
// top-left origin, so height is negative
|
||||
sizes.push([elt['MatrixWidth'], -elt['MatrixHeight']]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user