Rename _ol_View_ to View
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// NOCOMPILE
|
||||
import Map from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import View from '../src/ol/View.js';
|
||||
import GeoJSON from '../src/ol/format/GeoJSON.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
import _ol_source_VectorTile_ from '../src/ol/source/VectorTile.js';
|
||||
@@ -60,7 +60,7 @@ var map = new Map({
|
||||
})
|
||||
],
|
||||
target: 'map',
|
||||
view: new _ol_View_({
|
||||
view: new View({
|
||||
center: [0, 0],
|
||||
zoom: 2
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user