Rename _ol_source_TileArcGISRest_ to TileArcGISRest
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 OSM from '../src/ol/source/OSM.js';
|
||||
import _ol_source_TileArcGISRest_ from '../src/ol/source/TileArcGISRest.js';
|
||||
import TileArcGISRest from '../src/ol/source/TileArcGISRest.js';
|
||||
|
||||
var url = 'https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/' +
|
||||
'Specialty/ESRI_StateCityHighway_USA/MapServer';
|
||||
@@ -13,7 +13,7 @@ var layers = [
|
||||
}),
|
||||
new TileLayer({
|
||||
extent: [-13884991, 2870341, -7455066, 6338219],
|
||||
source: new _ol_source_TileArcGISRest_({
|
||||
source: new TileArcGISRest({
|
||||
url: url
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user