Rename _ol_source_OSM_ to OSM
This commit is contained in:
@@ -3,7 +3,7 @@ import View from '../src/ol/View.js';
|
||||
import {easeIn, easeOut} from '../src/ol/easing.js';
|
||||
import TileLayer from '../src/ol/layer/Tile.js';
|
||||
import {fromLonLat} from '../src/ol/proj.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
import OSM from '../src/ol/source/OSM.js';
|
||||
|
||||
var london = fromLonLat([-0.12755, 51.507222]);
|
||||
var moscow = fromLonLat([37.6178, 55.7517]);
|
||||
@@ -21,7 +21,7 @@ var map = new Map({
|
||||
layers: [
|
||||
new TileLayer({
|
||||
preload: 4,
|
||||
source: new _ol_source_OSM_()
|
||||
source: new OSM()
|
||||
})
|
||||
],
|
||||
// Improve user experience by loading tiles while animating. Will make
|
||||
|
||||
Reference in New Issue
Block a user