Skip to content

[WIP] Use Uber react-map-gl for better reactive map #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

gmaclennan
Copy link
Member

Working with a map in a reactive application is hard - especially with map zoom and pan animations in response to both user input and events from the app itself. A lot of bugs in MapFilter come from mixing imperative code with reactive code - where the map view should always render the same with the same set of props/inputs. This PR switches to use react-map-gl which is a module by the Uber team which wraps mapbox-gl-js in a react component, replacing our current custom mapbox-gl-js component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant