stevage / map-gl-utils

A utility library that makes Mapbox GL JS or Maplibre GL a bit more convenient to work with.
https://npmjs.com/package/map-gl-utils
212 stars 24 forks source link

Add hideSource() #1

Closed stevage closed 5 years ago

stevage commented 5 years ago

map.U.hideSource('foo)' hides all layers that reference foo