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

Support regex (and maybe function) as alternative to arrays #21

Closed stevage closed 3 years ago

stevage commented 3 years ago

This would be nice:

map.U.show(/signs-*/)

map.U.show(l => l.type === 'symbol')