2011-08-17 112 views

回答

0
public static int getCoordinateE6(double coordinate) { 
    return (int) (coordinate * 1E6); 
} 

GeoPoint geoPoint = new GeoPoint(
    GoogleMapServiceHelper.getCoordinateE6(latitude), 
    GoogleMapServiceHelper.getCoordinateE6(longitude)); 
getMapView().getController().animateTo(geoPoint); 
相關問題