Skip to content
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

Revise map selection feedback #16

Open
bbradforddesign opened this issue Sep 11, 2019 · 0 comments
Open

Revise map selection feedback #16

bbradforddesign opened this issue Sep 11, 2019 · 0 comments

Comments

@bbradforddesign
Copy link
Collaborator

The current method used to provide user feedback is to mount a new geojson object over the original, with only the selected zone visible. This is pretty inefficient compared to modifying the original geojson's styles, however it will work as a stopgap for the moment. The docs mention a 'foreach' method that can add a listener to each feature in a geojson, which would let us modify the style on a specific feature directly on a click, however it doesn't exactly specify how to do this, and is pretty cryptic overall. Anyone feel free to take a crack at it!

If possible, we should also add a popup on the map stating which zone is selected. This shouldn't be very intrusive, and would give a big boost to usability.

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

No branches or pull requests

1 participant