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

ENHANCEMENT: do not download tiles that are not needed any more #90

Open
paolobenve opened this issue Oct 4, 2021 · 0 comments
Open

Comments

@paolobenve
Copy link
Contributor

If the zoom level is raised rapidly (mouse scroll) in the app using osm_gps, e.g. from 5 to 9, all the tiles needed tiles for zoom 6, then all those for zoom 7, then those for zoom 8, then those for zoom 9 are downloaded.

The same thing happens when lowering the zoom level, and when moving the map. A big amount of data is downloaded without a real need. This gives a serious "user experience" problem on slow connections.

My proposal is: if the zoom level changes while downloading a set of tiles, cancel the download of the zoom level not needed any more.

More generally: If a tile isn't needed any more, for changing the zoom level or for remaining outside the visible map window, stop downloading it.

@paolobenve paolobenve changed the title ENHANCEMENT: do not download tile that are not needed any more ENHANCEMENT: do not download tiles that are not needed any more Oct 4, 2021
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