Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The identify region tool is not aware of scale based layer visibility #569

Open
danceb opened this issue Aug 8, 2024 · 1 comment
Open

Comments

@danceb
Copy link

danceb commented Aug 8, 2024

Map layers could not be visible within the map at a specific scale, as they have a scale based visibilty configured (italic label within the layer tree):
grafik

Nevertheless the features of this layers are requested with the identify region tool within the map:

grafik

I think the tool should only consider features from layers, which are actually visible and the scale based visibility should be taken into account here as well.

@manisandro
Copy link
Member

IdentifyUtils.getQueryLayers [1] should actually honour the scale based visibility. You might want to step through that method to see why it may be failing.

[1] https://github.com/qgis/qwc2/blob/master/utils/IdentifyUtils.js#L83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants