Slight pause when pinch zooming in and out during tile loading
See original GitHub issueIssue Type
See related issue #801
[ ] Performance
Description and/or steps/code to reproduce the problem
About the UX issue you mentioned: do you mean that the pinch gesture is smooth in itself but that you notice a break in the display of the tile every time the tile resolution changes (e.g. from 5.9 - which is tile 5 multiplied by 1.9 - to 6 - which is tile 6)?
What happens if you zoom in and out and in and out on the same location: do you still experience that little break?
Yes, it is exactly as you describe - the pinch zoom is smooth except for those little breaks when tiles from a higher resolution are loaded. It happens also when doing as you say, zooming in and out repeatedly in the same location. However, this does not happen on pinch zoom out - when pinch zooming out, the gesture is smooth all throughout the tile resolutions, tiles are replaced by lower resolution ones without any noticeable break.
But this is just a minor detail that is not of much importance.
Version of osmdroid the issue relates to:
6.0.0
Issue Analytics
- State:
- Created 6 years ago
- Comments:35 (13 by maintainers)
Top Results From Across the Web
Slow tile loading performance during zoom ... - Google Groups
The trouble is that when doing a fast zoom with the mouse wheel or by rapidly clicking zoom in/out buttons the API will...
Read more >Osmdroid And Pinch - ADocLib
Osmdroid 3.0.10 includes support for zooming at the location you pinched at. ... Slight pause when pinch zooming in and out during tile...
Read more >Setting boundaries for pinch-zoom in Maps view
For an app I'm working on the user needs to be able to zoom in and out using pinch gestures, but only within...
Read more >Hide old tiles while loading new ones when zooming in ...
I would prefer to make them invisible and show the background color while loading new tiles.
Read more >Pixel 6 Pro: First 10 Things To Do! - YouTube
Our Pixel 6 Pro review (and Pixel 6) will be up soon, but because your phones are arriving shortly, we wanted to give...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m not seeing the pause by the way. I’m not sure what @monsieurtanuki did, but it’s amazingly smooth and fast. It’s like a whole new app!
I have exactly the same problem. Surprisingly, after so many years, the solution is still not explicitly indicated anywhere. Also, for some reason, the cache is deleted when I close the fragment. All tutorials are pretty old and no deprecated solutions are mentioned there.