rename in examples

This commit is contained in:
Ron Young
2017-12-21 09:19:46 -06:00
committed by Tim Schaub
parent 9fa59d0735
commit b8b64ac655
161 changed files with 325 additions and 325 deletions

View File

@@ -1,6 +1,6 @@
// NOCOMPILE
// this example uses JSTS for which we don't have an externs file.
import _ol_Map_ from '../src/ol/Map.js';
import Map from '../src/ol/Map.js';
import _ol_View_ from '../src/ol/View.js';
import GeoJSON from '../src/ol/format/GeoJSON.js';
import TileLayer from '../src/ol/layer/Tile.js';
@@ -41,7 +41,7 @@ var rasterLayer = new TileLayer({
source: new _ol_source_OSM_()
});
var map = new _ol_Map_({
var map = new Map({
layers: [rasterLayer, vectorLayer],
target: document.getElementById('map'),
view: new _ol_View_({