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

Preventing overlapping stops on the map #1

Open
ejwillemse opened this issue Feb 10, 2024 · 1 comment
Open

Preventing overlapping stops on the map #1

ejwillemse opened this issue Feb 10, 2024 · 1 comment

Comments

@ejwillemse
Copy link

ejwillemse commented Feb 10, 2024

From this discussion and the comment by @merschformann:

The even bigger challenge we have is overlapping stops. Since clicking the stop reveals information from the JSON about it, it can be quite annoying if one blocks the other.

A possible solution, as discussed here, is to shuffle the points in an expanding hexacon grid. A python implementation is given in the same post, and available at https://gist.github.com/naught101/d364b176b0646da9bf58198d79a0197d.

@ejwillemse ejwillemse changed the title Overlapping points Preventing overlapping stops on the map Feb 10, 2024
@merschformann
Copy link
Member

Thanks for filing the issue and providing pointers. We'll have a look as soon as possible. 😊

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

2 participants