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

Don't pan as much #31

Open
iandees opened this issue Nov 7, 2014 · 1 comment
Open

Don't pan as much #31

iandees opened this issue Nov 7, 2014 · 1 comment
Labels

Comments

@iandees
Copy link
Member

iandees commented Nov 7, 2014

When I was playing around with getting this to run directly on Chromecast, panning between edits every few hundred milliseconds bogged down the Chromecast and made it restart. The panning can even cause problems on slower desktops/laptops, too.

It would be nice to cluster edits together and have the browser center on a bounding box that shows a cluster of edits without panning between each edit. For bonus points, when we have a bunch of ways to draw inside the viewport we could try drawing them all at the same time.

@iandees
Copy link
Member Author

iandees commented Jan 21, 2016

One thought is to use k-means clustering to group the ways (via their bounding boxes) into clusters. We would pan to each bounding box cluster and show the data in that bounding box without panning.

There would have to be some fiddling to figure out what the right number of clusters vs. how big to make the bounding boxes (so we could still see the changes), but it would certainly lead to less panning.

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

No branches or pull requests

1 participant