jofomah / osmdroid

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

MapView.zoomToBoundingBox always uses highest zoom level #503

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Assume you have a working mapview in an application with zoom levels minZ to 
maxZ
2. When calling MapView.zoomToBoundingBox with various bounding boxes, the map 
will always show maxZ, regardless of the actaul size of the bonding box. The 
center seems to be correct though

What is the expected output? What do you see instead?
The map view should adapt its zoom level to show "just" the bounding box, but 
it remains at its maximum zoom level regardless of the actual bounding box size.

What version of the product are you using? On what operating system?
osmdroid 4.0, checked on Android 2.3x, 4.1.x, 4.2x, 4.4.x.

Please provide any additional information below.

Original issue reported on code.google.com by jeanmich...@gmail.com on 20 Dec 2013 at 8:28