Rename _ol_source_VectorTile_ to VectorTileSource

This commit is contained in:
Tim Schaub
2018-01-08 16:05:34 -07:00
parent 231c8837ca
commit ecd1343d75
10 changed files with 35 additions and 35 deletions

View File

@@ -3,7 +3,7 @@ import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import GeoJSON from '../src/ol/format/GeoJSON.js';
import OSM from '../src/ol/source/OSM.js';
import _ol_source_VectorTile_ from '../src/ol/source/VectorTile.js';
import VectorTileSource from '../src/ol/source/VectorTile.js';
import TileLayer from '../src/ol/layer/Tile.js';
import _ol_layer_VectorTile_ from '../src/ol/layer/VectorTile.js';
import _ol_proj_Projection_ from '../src/ol/proj/Projection.js';
@@ -74,7 +74,7 @@ fetch(url).then(function(response) {
extent: 4096,
debug: 1
});
var vectorSource = new _ol_source_VectorTile_({
var vectorSource = new VectorTileSource({
format: new GeoJSON(),
tileLoadFunction: function(tile) {
var format = tile.getFormat();