What steps will reproduce the problem?
1. Create a MapView with osmdroid-android
2. Center map on a location
2. Zoom In with builtin controls
What is the expected output? What do you see instead?
You should zoom in and center of map should remain in center.
Zooming out is fine, Zooming in centers map incorrectly.
From where I am, NY State, the scale animation works okay, but then ends with a
scroll to a coordinate in the South Atlantic near Gabon!
What version of the product are you using? On what operating system?
# svn info
Path: .
URL: http://osmdroid.googlecode.com/svn/trunk
Repository Root: http://osmdroid.googlecode.com/svn
Repository UUID: 349629ee-b03d-11dd-8830-69e4bb380a4a
Revision: 915
Node Kind: directory
Schedule: normal
Last Changed Author: kurtzmarc
Last Changed Rev: 911
Last Changed Date: 2011-03-31 21:36:45 -0400 (Thu, 31 Mar 2011)
Operating System: Android 2.1 Nexus 1 Cyanogen Mod 7
Please provide any additional information below.
The MapView.AnimationListener.onAnimationEnd, calls setZoomLevel and
It's a minor (but major) translation problem when you are zooming in.
I've included a simple patch.
However, since this is a low level fix, I'm not sure what other applications
depending on this call might have done to work around if it perceived this as a
problem.
Original issue reported on code.google.com by polar.hu...@gmail.com on 12 Apr 2011 at 7:02
Original issue reported on code.google.com by
polar.hu...@gmail.com
on 12 Apr 2011 at 7:02Attachments: