mapbox-gl-legend

This module adds legend control which is able to create legend panel from mapbox style to mapbox-gl

mapboxmapbox-gl-jslegend

https://github.com/watergis/mapbox-gl-legend#readme