lishxi / osmdroid

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

Why last known location is null in offline mode? #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In offline mode, using a sqlitedb for some place including my location.
2. Use OpenStreeMapView sample in offline mode for whole day. It shows my 
location 
3. Run the application on next day, it does not show my location. On debugging 
sample it shows "Last known location is null."

What is the expected output? What do you see instead?
As one day before it shows my location in offline mode. Then in next day it 
does not. It should always animate to show my location in offline mode when i 
press menu item "My Location" and when "Showing and tracking my location" toast 
appears.

What version of the product are you using? On what operating system?
Osmdroid-android 3.0.4

Please provide any additional information below.

Original issue reported on code.google.com by muhammad...@gmail.com on 9 Jun 2011 at 5:09

GoogleCodeExporter commented 9 years ago
Please try the new MyLocation overlay. It does not change behavior if in 
offline mode. You may also be simply losing GPS signal.

Original comment by kurtzm...@gmail.com on 3 May 2013 at 12:52