Rename _ol_View_ to View

This commit is contained in:
Tim Schaub
2018-01-08 09:59:44 -07:00
parent a04144c3c2
commit 1c1f008238
207 changed files with 559 additions and 559 deletions

View File

@@ -1,7 +1,7 @@
// NOCOMPILE
// this example uses turf.js for which we don't have an externs file.
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 TileLayer from '../src/ol/layer/Tile.js';
import _ol_layer_Vector_ from '../src/ol/layer/Vector.js';
@@ -49,7 +49,7 @@ var rasterLayer = new TileLayer({
var map = new Map({
layers: [rasterLayer, vectorLayer],
target: document.getElementById('map'),
view: new _ol_View_({
view: new View({
center: fromLonLat([126.980366, 37.526540]),
zoom: 15
})