Do not fade the states layer

This commit is contained in:
Andreas Hocevar
2017-11-25 10:08:43 +01:00
parent 7fbada28ac
commit 5e43208d93

View File

@@ -14,7 +14,9 @@ var layers = [
source: new ol.source.TileWMS({
url: 'https://ahocevar.com/geoserver/wms',
params: {'LAYERS': 'topp:states', 'TILED': true},
serverType: 'geoserver'
serverType: 'geoserver',
// Countries have transparency, so do not fade tiles:
transition: 0
})
})
];