anasrp08 / osmdroid

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

zoomToSpan() ANR message #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In Activity onStart method try to use 
OpenStreetMapViewController.zoomToSpan() method

What is the expected output? What do you see instead?
Black screen and after few seconds ANR message

What version of the product are you using? On what operating system?
osmdroid-android-1.08 on Android 2.2
I'm using Google API 7

Please provide any additional information below.
None.

Original issue reported on code.google.com by virtualn...@gmail.com on 6 Dec 2010 at 8:06

GoogleCodeExporter commented 9 years ago
I had the same problem. A solution for me was to call zoomToSpan in 
onWindowFocusChanged

Original comment by ame...@gmx.net on 14 Dec 2010 at 10:47

GoogleCodeExporter commented 9 years ago

Original comment by neilboyd on 5 Jan 2011 at 9:42