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

ration dots above certain levels to keep Leaflet happy #3

Open
burritojustice opened this issue Jun 1, 2017 · 0 comments
Open

ration dots above certain levels to keep Leaflet happy #3

burritojustice opened this issue Jun 1, 2017 · 0 comments

Comments

@burritojustice
Copy link
Collaborator

Displaying a large number of dots can cause Leaflet to stop updating, giving the appearance that the search tool has crashed, even though it is happily geocoding underneath the covers.

The appearance of dots are very exciting! So we should keep that as dynamic as possible, at least at the start.

A possible solution: above some threshold (say 500 results), display every 10th dot, and above 1000 only display every 20th or 100th dot or something reasonable.

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