Merge pull request #7510 from ahocevar/states-no-fade
Do not fade the states layer
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user