Ejemplo n.º 1
0
  @Override
  protected void onDestroy() {
    if (mLocClient != null) mLocClient.stop();
    mMapView.destroy();

    // Gl app = (Gl)this.getApplication();
    if (mBMapManager != null) {
      mBMapManager.destroy();
      mBMapManager = null;
    }
    super.onDestroy();
  }
Ejemplo n.º 2
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   mMapView.destroy();
   if (mMapManager != null) {
     mMapManager.destroy();
     mMapManager = null;
   }
   if (mLocationClient.isStarted()) {
     mLocationClient.stop();
   }
   super.onDestroy();
 }
Ejemplo n.º 3
0
 @Override
 protected void onDestroy() {
   mMapView.destroy();
   super.onDestroy();
 }
Ejemplo n.º 4
0
 @Override
 protected void onDestroy() {
   /** MapView的生命周期与Activity同步,当activity销毁时需调用MapView.destroy() */
   mMapView.destroy();
   super.onDestroy();
 }