rename in examples
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import Map from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import GeoJSON from '../src/ol/format/GeoJSON.js';
|
||||
@@ -90,7 +90,7 @@ var vectorLayer = new _ol_layer_Vector_({
|
||||
});
|
||||
|
||||
// … finally create a map with that layer.
|
||||
var map = new _ol_Map_({
|
||||
var map = new Map({
|
||||
layers: [
|
||||
vectorLayer
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user