Closed GoogleCodeExporter closed 8 years ago
Original comment by kurtzm...@gmail.com
on 20 Jun 2012 at 8:58
Attachments:
This issue was closed by revision r1107.
Original comment by kurtzm...@gmail.com
on 19 Jul 2012 at 8:15
Reopening ticket. Problem still not solved.
Original comment by kurtzm...@gmail.com
on 14 Aug 2012 at 8:13
So after using and reviewing the patch I'm not convinced it was the right way
to go. After looking deeper into it I realized there is still an issue if the
scrolling started before the zoom. So we start by reverting the changes in the
revision and let those functions (setMapCenter, scrollTo, onFling) use the
non-target zoom level again. Bringing us back to where we started, we still
have the issue of the scroller tweening values that are in the wrong zoom
level. The solution to that is to force scrolling to finish early before
changing zoom levels in setZoomLevel. So the Scroller will always scroll values
in the current (non-target) zoom level, but if we change zoom levels then we
force it to finish scrolling early since the map coordinate system is about to
change. So in setZoomLevel:
if (newZoomLevel != curZoomLevel) {
// We could use abortAnimation() to jump to the final scroll location but that may cause perceived "jumpiness".
// Seems best to just stop the Scroller dead in its tracks.
mScroller.forceFinished(true);
}
Will continue to test this internally and apply a patch after a review period.
Please leave comments.
Original comment by kurtzm...@gmail.com
on 14 Aug 2012 at 8:32
Original comment by kurtzm...@gmail.com
on 14 Aug 2012 at 8:35
Attachments:
This issue was closed by revision r1128.
Original comment by kurtzm...@gmail.com
on 19 Nov 2012 at 6:53
I am experiencing this or a related issue in 3.0.10 very frequently. While a
zoom is in transition and animating, a tap/scroll will wildly mess up the
location. Is this patch in 3.0.10?
Original comment by vit.hrad...@gmail.com
on 26 Jul 2013 at 2:41
On a related note, is the a way to disable the zoom animation and just jump on
the new zoom level?
Original comment by vit.hrad...@gmail.com
on 26 Jul 2013 at 2:54
See issue 448.
Original comment by kurtzm...@gmail.com
on 26 Jul 2013 at 1:45
To disable zoom-animation you can add your own zoom buttons and call setZoom()
directly.
Original comment by kurtzm...@gmail.com
on 26 Jul 2013 at 1:46
Original issue reported on code.google.com by
kurtzm...@gmail.com
on 20 Jun 2012 at 8:58