Rename _ol_source_TileWMS_ to TileWMS
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_TileWMS_ from '../src/ol/source/TileWMS.js';
|
||||
import TileWMS from '../src/ol/source/TileWMS.js';
|
||||
|
||||
|
||||
var layers = [
|
||||
@@ -10,7 +10,7 @@ var layers = [
|
||||
source: new OSM()
|
||||
}),
|
||||
new TileLayer({
|
||||
source: new _ol_source_TileWMS_({
|
||||
source: new TileWMS({
|
||||
url: 'https://ahocevar.com/geoserver/ne/wms',
|
||||
params: {'LAYERS': 'ne:ne_10m_admin_0_countries', 'TILED': true},
|
||||
serverType: 'geoserver'
|
||||
|
||||
Reference in New Issue
Block a user