Steps to replicate the issue (include links if applicable):
- The bug occurs in Wikivoyage projects.
- Chooose any page which uses a Kartographer map
- I.e.: https://de.wikivoyage.org/wiki/Mad%C4%ABnat_M%C4%81%E1%B8%8D%C4%AB . At this page, only two different groups occur ("Anderes", "Sehenswert").
What happens?:
- In the layer control on the right side all possible groups (about 25) are shown but most of them are senseless because these groups have no elements.
What should have happened instead?:
- Only these groups should be shown which contain element. This was the previous behavior for several years.
- If you will not press on the map's full screen control but on the magnify button right of the map title then a full-screen map occurs which uses a layer control with the expected behavior.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- The mapframe show parameter contains 25 elements because it is impossible to forecast with Lua scripting which groups are used all over the page. Please note that in Wikivoyage the markers are not defined in a single mapframe call but are defined in individual maplink definitions.