Rename _ol_layer_Image_ to ImageLayer
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Map from '../src/ol/Map.js';
|
||||
import View from '../src/ol/View.js';
|
||||
import _ol_layer_Image_ from '../src/ol/layer/Image.js';
|
||||
import ImageLayer from '../src/ol/layer/Image.js';
|
||||
import TileLayer from '../src/ol/layer/Tile.js';
|
||||
import _ol_source_ImageWMS_ from '../src/ol/source/ImageWMS.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
@@ -10,7 +10,7 @@ var layers = [
|
||||
new TileLayer({
|
||||
source: new _ol_source_OSM_()
|
||||
}),
|
||||
new _ol_layer_Image_({
|
||||
new ImageLayer({
|
||||
extent: [-13884991, 2870341, -7455066, 6338219],
|
||||
source: new _ol_source_ImageWMS_({
|
||||
url: 'https://ahocevar.com/geoserver/wms',
|
||||
|
||||
Reference in New Issue
Block a user