g3w-suite / g3w-client

Map viewer addon for G3W-SUITE
https://g3w-suite.readthedocs.io/en/latest/g3wsuite_client.html
Mozilla Public License 2.0
21 stars 17 forks source link

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

Closed volterra79 closed 6 months ago

volterra79 commented 6 months ago

Depend on https://github.com/g3w-suite/g3w-admin/pull/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