There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Version 3.0 - WMS modification
There is a problem in WMS.cs file in the new 3.0 version. At line 866 a call to SetVisibleLayers() has been added and now when a sublayer visibility is set from true to false and back, it does not appears in the
For example, take the wms definition below :
...|_Sublayer 1 (0)
..........| Sublayer 2 (1)
..........|_ Sublayer 3 (2)
...|_Sublayer 4 (3)
..........|_ Sublayer 5 (4)
If you set all visible, you will have : _layersArray : 1,2,4
Now set sublayer 5 not visible : _layersArray : 1,2
Set sublayer 5 visible again : _layersArray : 1,2 :-(
When setting sublayer 5 not visible, sublayer 4 becomes not visible but when sublayer 5 is back to visible, sublayer 4 is still not visible so sublayer 5 is not added in _layersArray :-(.