Skip to content

Layer selectable even if the group it belongs to is turned off #10632

@danabit

Description

@danabit

Description

There is a problem in the selection similar to the printing problem which was solved here:
#10513

The same thing happens when you select on the map and the group is turned off but its nodes are turned on.
I take your map at the link as an example:
https://mapstore.geosolutionsgroup.com/mapstore/#/viewer/8613

If I turn off the “New York” group and select in an area where I know there is a State (but it is not visible because the group is turned off), the selection will still happen, even though the State of US layer is not visible.
This situation did not occur before version 2024.01.

How to reproduce

  • Use a map with a group having at least one layer
  • Turn off the group (Leaving the layer inside turned on)
  • Try to select an area on the map where the layer is present (even if it is not visible)

Expected Result
There should be no results in the identify panel (since the layer is not visible on the map)

Current Result
The identify panel still shows results (even if the layer is not visible)

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

20241028_bug_selezione_ms2_2024.01.mp4

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions