Rename _ol_source_OSM_ to OSM
This commit is contained in:
@@ -5,7 +5,7 @@ import _ol_format_WMTSCapabilities_ from '../src/ol/format/WMTSCapabilities.js';
|
||||
import TileLayer from '../src/ol/layer/Tile.js';
|
||||
import {get as getProjection} from '../src/ol/proj.js';
|
||||
import {register} from '../src/ol/proj/proj4.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
import OSM from '../src/ol/source/OSM.js';
|
||||
import TileImage from '../src/ol/source/TileImage.js';
|
||||
import _ol_source_TileWMS_ from '../src/ol/source/TileWMS.js';
|
||||
import _ol_source_WMTS_ from '../src/ol/source/WMTS.js';
|
||||
@@ -68,7 +68,7 @@ layers['bng'] = new TileLayer({
|
||||
});
|
||||
|
||||
layers['osm'] = new TileLayer({
|
||||
source: new _ol_source_OSM_()
|
||||
source: new OSM()
|
||||
});
|
||||
|
||||
layers['wms4326'] = new TileLayer({
|
||||
|
||||
Reference in New Issue
Block a user