mMapView = (MapView)findViewById(R.id.mapView); mMapView.showScaleControl(false); int count = mMapView.getChildCount(); for (int i = 0; i < count; i++) { View child = mMapView.getChildAt(i); if (child instanceof ImageView) { // 隐藏百度logo child.setVisibility(View.INVISIBLE); } // 隐藏ZoomControl if (child instanceof ZoomControls) { child.setVisibility(View.INVISIBLE); } }
原文地址:http://blog.csdn.net/wuxin782515516/article/details/46562419