Rename _ol_source_VectorTile_ to VectorTileSource
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user