最佳答案
double latitude = geoPoint.getLatitudeE6() / 1E6;
double longitude = geoPoint.getLongitudeE6() / 1E6;
location.setLatitude(latitude);
location.setLongitude(longitude);
关于android - 将 GeoPoint 转换为位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3472603/