xcxm0304 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Zoom animation "jumps" in API 10 #477

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In API 10 when the maps are zoomed in or out there is a visual "jump" to the 
tiles at the end. What appears to be happening is that the zoom level is 
changing before the scale operation is over (or vice-versa) and the wrong 
zoom-level is being shown for a brief moment.

Original issue reported on code.google.com by kurtzm...@gmail.com on 10 Sep 2013 at 12:14

GoogleCodeExporter commented 9 years ago
This is likely a regression. See Issue 136 and Issue 230.

Original comment by kurtzm...@gmail.com on 10 Sep 2013 at 12:21

GoogleCodeExporter commented 9 years ago
Hi,

Are there any new on this?

Regards.

Original comment by devemu...@gmail.com on 28 Sep 2013 at 8:54

GoogleCodeExporter commented 9 years ago
Regarding r1365 and Neil's comment for "Prepare for next release which will be 
4.0"..
Please don't forget this issue!

As those who want to use the latest osmdroid version have the unpleasant visual 
"jump" at API 10 (over 1/4 of active Android devices).

Best regards.

Original comment by devemu...@gmail.com on 17 Oct 2013 at 7:13

GoogleCodeExporter commented 9 years ago
Hi,

Just a reminder, as it has been some time.
We cannot use osmdroid at API 10 devices, due to this issue.

We're stuck with 3.0.10 version, the latest working nicely at Gingerbread.

Are there any plans to fix zoom behavior?

Best regards, Emux

Original comment by devemu...@gmail.com on 4 Dec 2013 at 7:46

GoogleCodeExporter commented 9 years ago
Try adding this to the bottom of MapController.onAnimationEnd():

        if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.GINGERBREAD_MR1) {
            mMapView.clearAnimation();
            mZoomInAnimationOld.reset();
            mZoomOutAnimationOld.reset();
        }

Let me know if that fixes it for you.

Original comment by kurtzm...@gmail.com on 4 Dec 2013 at 3:29

GoogleCodeExporter commented 9 years ago
Thanks for your suggestion.
It seems to fix the zoom animation issue.

Best regards.

Original comment by devemu...@gmail.com on 4 Dec 2013 at 6:45

GoogleCodeExporter commented 9 years ago
Another more minor issue at API 10, is that when we double tap the map, the 
zoom is performed at the view center and not at the tapped point.

Best regards.

Original comment by devemu...@gmail.com on 4 Dec 2013 at 7:04

GoogleCodeExporter commented 9 years ago
Hi,

The fix at #5 works at API 10.
Can be committed at main source?

Best regards.

Original comment by devemu...@gmail.com on 10 Jan 2014 at 9:06

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1399.

Add fix for API <= 10 and zoom animation.

Original comment by kurtzm...@gmail.com on 14 Jan 2014 at 2:51

GoogleCodeExporter commented 9 years ago

Original comment by kurtzm...@gmail.com on 14 Jan 2014 at 2:58

GoogleCodeExporter commented 9 years ago
This issues still appears on my Nexus 7 and Samsung Galaxy S2 Plus.

Whenever I zoom in, the Map "jumps" afterwards. The faster the zoom gesture, 
the larger the "jump". If I zoom slowly and smooth, the results are better, but 
still not perfect/as intended.

Original comment by superme...@gmail.com on 22 May 2014 at 11:29