Use GeoServer/GWC caching when possible
This commit is contained in:
@@ -6,7 +6,7 @@ goog.require('ol.source.TileWMS');
|
||||
|
||||
var wmsSource = new ol.source.TileWMS({
|
||||
url: 'https://ahocevar.com/geoserver/wms',
|
||||
params: {'LAYERS': 'ne:ne'},
|
||||
params: {'LAYERS': 'ne:ne', 'TILED': true},
|
||||
serverType: 'geoserver',
|
||||
crossOrigin: 'anonymous'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user