Mapbox has an example showing how you can toggle map layers on and off. Is there a way to easily toggle groups of layers instead of individual layers?
https://docs.mapbox