Rename _ol_tilegrid_TileGrid_ to TileGrid

This commit is contained in:
Frederic Junod
2017-12-22 10:56:20 +01:00
parent 7617e4e377
commit 297c9e45ab
16 changed files with 103 additions and 104 deletions

View File

@@ -5,7 +5,7 @@ import TileLayer from '../src/ol/layer/Tile.js';
import {get as getProjection} from '../src/ol/proj.js';
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
import _ol_source_TileWMS_ from '../src/ol/source/TileWMS.js';
import _ol_tilegrid_TileGrid_ from '../src/ol/tilegrid/TileGrid.js';
import TileGrid from '../src/ol/tilegrid/TileGrid.js';
var projExtent = getProjection('EPSG:3857').getExtent();
@@ -14,7 +14,7 @@ var resolutions = new Array(22);
for (var i = 0, ii = resolutions.length; i < ii; ++i) {
resolutions[i] = startResolution / Math.pow(2, i);
}
var tileGrid = new _ol_tilegrid_TileGrid_({
var tileGrid = new TileGrid({
extent: [-13884991, 2870341, -7455066, 6338219],
resolutions: resolutions,
tileSize: [512, 256]