rename in examples
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// NOCOMPILE
|
||||
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 _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
@@ -53,7 +53,7 @@ var tilePixels = new _ol_proj_Projection_({
|
||||
units: 'tile-pixels'
|
||||
});
|
||||
|
||||
var map = new _ol_Map_({
|
||||
var map = new Map({
|
||||
layers: [
|
||||
new TileLayer({
|
||||
source: new _ol_source_OSM_()
|
||||
|
||||
Reference in New Issue
Block a user