rename in examples
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import _ol_Feature_ from '../src/ol/Feature.js';
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import Map from '../src/ol/Map.js';
|
||||
import _ol_Overlay_ from '../src/ol/Overlay.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import Point from '../src/ol/geom/Point.js';
|
||||
@@ -44,7 +44,7 @@ var rasterLayer = new TileLayer({
|
||||
})
|
||||
});
|
||||
|
||||
var map = new _ol_Map_({
|
||||
var map = new Map({
|
||||
layers: [rasterLayer, vectorLayer],
|
||||
target: document.getElementById('map'),
|
||||
view: new _ol_View_({
|
||||
|
||||
Reference in New Issue
Block a user