1、设置地图缩放级别
MapStatus mapStatus = new MapStatus.Builder().zoom(15).build();
MapStatusUpdate mMapStatusUpdate = MapStatusUpdateFactory.newMapStatus(mapStatus);
mBaiduMap.setMapStatus(mMapStatusUpdate);
2、将某一点设置为地图的中心
LatLng ll = new LatLng(location.getLatitude(), location.getLongitude());
MapStatusUpdate u = MapStatusUpdateFactory.newLatLng(ll);
mBaiduMap.animateMapStatus(u);
3、隐藏地图缩放控件
private void hiddenZoomControl() {
int childCount = mMapView.getChildCount();
for (int i = 0; i < childCount; i++) {
View child = mMapView.getChildAt(i);
if (child instanceof ZoomControls) {
child.setVisibility(View.GONE);
break;
}
}
}
其他的等用到了再慢慢补充。
原文地址:http://blog.csdn.net/zhong1113/article/details/45225271