Autofix indentation issues (eslint --fix)
This commit is contained in:
@@ -30,15 +30,15 @@ goog.require('ol.tilegrid');
|
||||
ol.source.XYZ = function(opt_options) {
|
||||
var options = opt_options || {};
|
||||
var projection = options.projection !== undefined ?
|
||||
options.projection : 'EPSG:3857';
|
||||
options.projection : 'EPSG:3857';
|
||||
|
||||
var tileGrid = options.tileGrid !== undefined ? options.tileGrid :
|
||||
ol.tilegrid.createXYZ({
|
||||
extent: ol.tilegrid.extentFromProjection(projection),
|
||||
maxZoom: options.maxZoom,
|
||||
minZoom: options.minZoom,
|
||||
tileSize: options.tileSize
|
||||
});
|
||||
ol.tilegrid.createXYZ({
|
||||
extent: ol.tilegrid.extentFromProjection(projection),
|
||||
maxZoom: options.maxZoom,
|
||||
minZoom: options.minZoom,
|
||||
tileSize: options.tileSize
|
||||
});
|
||||
|
||||
ol.source.TileImage.call(this, {
|
||||
attributions: options.attributions,
|
||||
|
||||
Reference in New Issue
Block a user