markusand / mapboxgl-legend

Add a legend to a mapbox-gl map by parsing layer layout & paint expressions.
ISC License
48 stars 11 forks source link

Legend is still visible when empty #1

Closed markusand closed 3 years ago

markusand commented 3 years ago

If no layer is loaded and the legend is empty, the shadow borders are still visible.