visgl / react-map-gl

React friendly API wrapper around MapboxGL JS
http://visgl.github.io/react-map-gl/
Other
7.88k stars 1.35k forks source link

Examples: Update filter example to maplibre #2386

Open tordans opened 6 months ago

tordans commented 6 months ago

This updates the filter example to maplibre and removes the notes on mapbox. I was actually testing something else and this was a by product. Let me know if this would be useful and what would have to change.

The example itself is not as good as before because it always only highlights one state. But moving to the maplibre state example dataset was the quickest way to get this working again. It would be more ideal to have the mapbox dataset as open data as an example but I did not check that.

image