Rename _ol_source_OSM_ to OSM
This commit is contained in:
@@ -2,7 +2,7 @@ import Map from '../src/ol/Map.js';
|
||||
import View from '../src/ol/View.js';
|
||||
import TileLayer from '../src/ol/layer/Tile.js';
|
||||
import ImageLayer from '../src/ol/layer/Image.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
import OSM from '../src/ol/source/OSM.js';
|
||||
import ImageArcGISRest from '../src/ol/source/ImageArcGISRest.js';
|
||||
|
||||
var url = 'https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/' +
|
||||
@@ -10,7 +10,7 @@ var url = 'https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/' +
|
||||
|
||||
var layers = [
|
||||
new TileLayer({
|
||||
source: new _ol_source_OSM_()
|
||||
source: new OSM()
|
||||
}),
|
||||
new ImageLayer({
|
||||
source: new ImageArcGISRest({
|
||||
|
||||
Reference in New Issue
Block a user