Android; MapView,我如何设置默认位置?
答
首先,拿到控制器指定地图:
MapController myMapController = myMapView.getController();
,然后调用:
myMapController.setCenter(new GeoPoint())
这将设置在给定的GeoPoint地图的中心。
见MapView和MapController文档的更多信息
辉煌,正是我需要的。谢谢 :) – Jimmy 2010-08-30 13:48:34