public void clear() { if (aMap != null) { aMap.clear(); markerMgr.clearAll(); overlayMgr.clearAll(); } }
/** 方法必须重写 */ @Override protected void onDestroy() { if (aMap != null) { aMap.clear(); } overlayMgr.clean(); markerMgr.clearAll(); stopLocation(); super.onDestroy(); mapView.onDestroy(); }