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

Add a heatmap option #7

Open
alulsh opened this issue Feb 3, 2021 · 0 comments
Open

Add a heatmap option #7

alulsh opened this issue Feb 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@alulsh
Copy link
Owner

alulsh commented Feb 3, 2021

At high zoom levels (z0-z4ish), a lot of markers in one area is cluttered:

Screen Shot 2021-02-02 at 9 14 59 PM

We can solve this by adding the option to display as a heatmap (https://docs.mapbox.com/mapbox-gl-js/example/heatmap-layer/). Just like in the example, we can display a circle layer at higher zoom levels so that you can still see specific birth locations.

Screen Shot 2021-02-02 at 9 20 01 PM

I prefer heatmaps over clustering for this use case. With clusters you have to zoom in a lot to see the birth locations, which can be annoying and frustrating.

@alulsh alulsh added the enhancement New feature or request label Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant