ifaz / little-fluffy-location-library

Automatically exported from code.google.com/p/little-fluffy-location-library
0 stars 0 forks source link

Get location shown in google maps #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Really i don't think its really an issue, but the coordinates I got doesn't fit 
on gmaps, seems that it have another format maybe? I use toString to see what I 
got:

lastLocationUpdateTimestamp=none lastLocationBroadcastTimestamp=none 
lastLat=-2147,483643 lastLong=-2147,483643 lastAccuracy=2147483647

And the error:

FATAL EXCEPTION: main
java.lang.IllegalArgumentException: Latitude must be within the range (-90.0, 
90.0).

Regards

Original issue reported on code.google.com by normanpa...@gmail.com on 9 Aug 2013 at 4:18

GoogleCodeExporter commented 9 years ago
That's just Integer.MIN_VALUE. It's never had a location hit. Look in the 
source. You should call LocationInfo.anyLocationDataReceived() to see if you've 
ever had a location hit. Or just test last update time for zero.

Original comment by ken...@kentonprice.com on 9 Aug 2013 at 7:40

GoogleCodeExporter commented 9 years ago
I am getting correct latitude and langitude in india. but the same app is using 
in usa will always getting nonexist lat -2147.483642578125000 and longitude 
-2147.483642578125000. In which scenario the following value will come?
Let me give any fix to resolve the issue?

Original comment by ygsankar.87@gmail.com on 26 Dec 2013 at 7:40

GoogleCodeExporter commented 9 years ago
See prior comment on this issue.

Original comment by ken...@kentonprice.com on 28 Dec 2013 at 10:38