Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
The problem is that MyLocationNewOverlay.getMyLocation() now returns null
instead of a valid location, even though it is called from inside
MyLocationNewOverlay.runOnFirstFix(). The current location returned by the
overlay shouldn't be null if a location fix was signaled.
Original comment by carsten....@bitz.it
on 25 Jun 2014 at 10:54
We have migrated to github for this project. Please leave all future issues on
that page. I have looked at this and added a new issue:
https://github.com/osmdroid/osmdroid/issues/47
However, runOnFirstFix() runs in its own thread so you should absolutely not be
touching the UI in that thread. You need to push your runOnFirstFix Runnable
back onto the main thread with a Handler.
Original comment by kurtzm...@gmail.com
on 25 Jun 2014 at 1:47
Sorry about posting here, it was the repo I remembered and I went to the issues
immediately.
Thanks for opening a new issue there, and for the hint regarding the UI thread.
I actually was using a separate runOnUiThread, but didn't think about the fact
that animating to a certain location touches the UI, too. I will fix that in my
code.
Original comment by carsten....@bitz.it
on 25 Jun 2014 at 2:14
Original comment by neilboyd
on 13 Aug 2014 at 12:37
Original issue reported on code.google.com by
carsten....@bitz.it
on 25 Jun 2014 at 10:46