Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
22 stars 32 forks source link

[BUG] Layer Visibility Issue #2532

Open MLAuger opened 1 day ago

MLAuger commented 1 day ago

Is there an existing issue for this?

Current Behavior

Issues with visibility of layers in services with multiple layer groups. Example: c3a9b15d-3cd9-4548-96ee-031c9147f625).

If I disable the display of all layers in both layer groups and individually reactivate the visibility of a layer within a group, the visibility at the level of this group is activated, but the visibility of the entire service remains inactive. As a result, nothing is displayed on the map: image

Expected Behavior

Layer visibility should cascade from child to parent and show the layer.

Steps To Reproduce

No response

Anything else?

No response

MLAuger commented 1 day ago

Other example if needed: 7c19adcb-aa44-4002-b998-b043dfcde817

https://maps-cartes.ec.gc.ca/arcgis/rest/services/CESI/MapServer