Rename extent
This commit is contained in:
@@ -6,7 +6,7 @@ import TileState from '../../../../../src/ol/TileState.js';
|
||||
import VectorImageTile from '../../../../../src/ol/VectorImageTile.js';
|
||||
import VectorTile from '../../../../../src/ol/VectorTile.js';
|
||||
import View from '../../../../../src/ol/View.js';
|
||||
import * as _ol_extent_ from '../../../../../src/ol/extent.js';
|
||||
import {getCenter} from '../../../../../src/ol/extent.js';
|
||||
import MVT from '../../../../../src/ol/format/MVT.js';
|
||||
import Point from '../../../../../src/ol/geom/Point.js';
|
||||
import VectorTileLayer from '../../../../../src/ol/layer/VectorTile.js';
|
||||
@@ -364,7 +364,7 @@ describe('ol.renderer.canvas.VectorTileLayer', function() {
|
||||
})
|
||||
],
|
||||
view: new View({
|
||||
center: _ol_extent_.getCenter(extent),
|
||||
center: getCenter(extent),
|
||||
zoom: 19
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user