moocdev / osmdroid

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

MapView.zoomToBoundingBox() centers on incorrect coordinates #348

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
reporting against osmdroid-android 3.0.8

after applying the zoom level, the MapView is centered on incorrect 
coordinates: the 1E6 coordinates are divided by 1E6, then passed to the map 
controller which expects 1E6 coordinates and also attempts to divide by 1E6.

patch attached.

Original issue reported on code.google.com by schizosfera@gmail.com on 29 May 2012 at 11:47

Attachments: