Пример #1
0
 public void clear() {
   if (aMap != null) {
     aMap.clear();
     markerMgr.clearAll();
     overlayMgr.clearAll();
   }
 }
Пример #2
0
 /** 方法必须重写 */
 @Override
 protected void onDestroy() {
   if (aMap != null) {
     aMap.clear();
   }
   overlayMgr.clean();
   markerMgr.clearAll();
   stopLocation();
   super.onDestroy();
   mapView.onDestroy();
 }