You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding a WMS layer with addWMS(), the attribution display at the bottom is not toggled when the group is shown or hidden respectively. This contrasts with such toggle-behaviour in leaflet::addWMSTiles(), where the attribution is hidden if the group is hidden.
The attached zipped html notebook – leaflet_issue_notebook.nb.html.zip – compares this behaviour between leaflet (first map) and leaflet.extras2 (second map).
I believe leaflet.extras2 should follow the behaviour of leaflet for this.
The text was updated successfully, but these errors were encountered:
florisvdh
added a commit
to inbo/bene-piloot-tvg
that referenced
this issue
Feb 27, 2023
You're right, but I do think the bug comes from the underlying plugin library.
I will have a deeper look into it, or you could open an Issue here https://github.com/heigeo/leaflet.wms
After adding a WMS layer with
addWMS()
, the attribution display at the bottom is not toggled when the group is shown or hidden respectively. This contrasts with such toggle-behaviour inleaflet::addWMSTiles()
, where the attribution is hidden if the group is hidden.The attached zipped html notebook – leaflet_issue_notebook.nb.html.zip – compares this behaviour between leaflet (first map) and leaflet.extras2 (second map).
I believe leaflet.extras2 should follow the behaviour of leaflet for this.
The text was updated successfully, but these errors were encountered: