#11270: fix - Layer groups visibility is not consistent with Map Visualization MapViews plugin#11313
Conversation
…t with Map Visualization MapViews plugin Description: - handle ensure layers update on group visibility changes by modifying `updateMapViewsLayers` epic to explicitly include layers in updates when their associated group's visibility changes according to the selected map view - edit unit test - add util 'findGroupById'
There was a problem hiding this comment.
I have a problem reviewing this PR.
It is that I can not reproduce the issue anymore, on dev.
Can you verify if the issue is reproducible on dev ?
If I understood correctly, the turning on and off the group, the change was not propagated to the sub-layers. Isn't it?
But if you see @ale-cristofori here on dev, in the context you provided, the issue is not present anymore. I don't see it even in stable ...
Video.del.2025-07-15.17-08-38.mp4
Did I missed something? Did the issue disappeared? Can you please show me the difference between the 2 behaviors?
|
@mahmoudadel54 we need you on the above asap as we are approaching QA functional tests soon this week. |
@offtherailz https://dev-mapstore.geosolutionsgroup.com/mapstore/#/context/testVLAANDEREN1995/58558 I have updated your context to reproduce it. |
|
I also noticed that the issue was not reproducible because the context provided for test contained the user session plugin . This was dynamically changing the map saved and so the initial condition, making the "steps to reproduce" reported not valid. I removed the user session plugin from the context in order to avoid confusion. |
|
@ElenaGallo please test in DEV and let us know if we can backport to stable tomorrow. |
|
Test passed, @mahmoudadel54 please backport to 2025.01.xx. Thanks |
…t with Map Visualization MapViews plugin (geosolutions-it#11313)
Backport is done --> #11323 |
Description
This PR includes handling ensure layers update on group visibility changes by modifying
updateMapViewsLayersepic to explicitly include layers in updates when their associated group's visibility changes according to the selected map view. This edit resolve the issue of not consistency of layer groups in map view visulaization.Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
#11270
What is the new behavior?
mapviews.mp4
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information