Merge pull request #7510 from ahocevar/states-no-fade

Do not fade the states layer
This commit is contained in:
Andreas Hocevar
2017-11-27 08:47:40 +01:00
committed by GitHub
+3 -1
View File
@@ -14,7 +14,9 @@ var layers = [
source: new ol.source.TileWMS({ source: new ol.source.TileWMS({
url: 'https://ahocevar.com/geoserver/wms', url: 'https://ahocevar.com/geoserver/wms',
params: {'LAYERS': 'topp:states', 'TILED': true}, params: {'LAYERS': 'topp:states', 'TILED': true},
serverType: 'geoserver' serverType: 'geoserver',
// Countries have transparency, so do not fade tiles:
transition: 0
}) })
}) })
]; ];