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

Allow to define which layers to hide to end user within Table of Contents #625

Merged
merged 4 commits into from
May 9, 2024

Conversation

volterra79
Copy link
Member

@volterra79 volterra79 commented May 6, 2024

Depend on g3w-suite/g3w-admin#841

Closes: #624

layerstree layer configuration has new attribute set from server:

{
    "name": "buildings",
    "expanded": true,
    "id": "buildings_2f43dc1d_6725_42d2_a09b_dd446220104a",
    "visible": true,
    "showfeaturecount": true
    "toc": <true or false>
}

true -> show layer on TOC
false -> hide layer on TOC

In case of toc === false, if layer is visible on map and returned from queryresult, selection is hide
@volterra79 volterra79 added the feature New feature or request label May 6, 2024
@volterra79 volterra79 added this to the v3.10 milestone May 6, 2024
@volterra79 volterra79 self-assigned this May 6, 2024
@volterra79 volterra79 requested a review from leolami May 6, 2024 15:47
@Raruto Raruto marked this pull request as ready for review May 8, 2024 06:09
@volterra79 volterra79 merged commit c9e6da3 into dev May 9, 2024
@volterra79 volterra79 deleted the issue_624 branch May 9, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to define which layers to hide to end user within Table of Contents
3 participants