Rename _ol_source_OSM_ to OSM

This commit is contained in:
Tim Schaub
2018-01-08 15:46:23 -07:00
parent c7b0cf51ad
commit 5f62d2ecfe
83 changed files with 174 additions and 174 deletions

View File

@@ -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