2011-04-04 95 views

回答

-1
GeoPoint geoPoint = new GeoPoint((int) (your_location_variable.getLatitude() * 1E6),(int) (your_location_variable.getLongitude() * 1E6)); 
    mapController.animateTo(geoPoint); 
0

通過啓動 - 我假設它的應用程序啓動。在顯示地圖視圖之前,只需註冊一個LocationListener。回調LocationListener應該給你當前的座標。您現在可以使用這些座標來放置標記。

相關問題