Convert GeoPoint to Location
I know this is a very noobish question -- but what is the best way to convert a GeoPoint
to a Loca开发者_如何学Pythontion
on the Android platform.
double latitude = geoPoint.getLatitudeE6() / 1E6;
double longitude = geoPoint.getLongitudeE6() / 1E6;
location.setLatitude(latitude);
location.setLongitude(longitude);
精彩评论