hackoregon / civic

The frontend monorepo for the CIVIC platform.
http://civicplatform.org
MIT License
60 stars 26 forks source link

Restructure Vector Tiles Map Component #1147

Closed mendozaline closed 4 years ago

mendozaline commented 4 years ago

This PR restructures the way the Vector Tiles Map Component works. The previous implementation wasn't compatible with the Sandbox.

This new implementation uses the Source and Layer components from react-map-gl. This required updating react-map-gl from 4.1.4 to 5.1.2. All the Vector Tiles Map component props are the same and the Storybook examples all still work the same.