question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Slight pause when pinch zooming in and out during tile loading

See original GitHub issue

Issue 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:closed
  • Created 6 years ago
  • Comments:35 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
spyhunter99commented, Dec 21, 2017

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!

0reactions
sobolvbcommented, Jan 21, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found