android – Convert GeoPoint to Location-ThrowExceptions

Exception or error:

I know this is a very noobish question — but what is the best way to convert a GeoPoint to a Location on the Android platform.

How to solve:
double latitude = geoPoint.getLatitudeE6() / 1E6;
double longitude = geoPoint.getLongitudeE6() / 1E6;


Leave a Reply

Your email address will not be published. Required fields are marked *