@Override
 public void onDestroy() {
   super.onDestroy();
   mMapView.onDestroy();
   GpsManager gps = new GpsManager(this.getActivity());
   gps.stopUsingGPS();
 }
Exemple #2
0
 /**
  * Called when the fragment is destroyed. Finishes the map.
  *
  * @see android.support.v4.app.Fragment#onDestroy()
  */
 @Override
 public void onDestroy() {
   super.onDestroy();
   if (map != null) map.setMyLocationEnabled(false);
   if (mapView != null) {
     mapView.onResume();
     mapView.onDestroy();
   }
 }
  @Override
  protected void onDestroy() {
    if (mListAdapter != null) {
      for (MapView m : mListAdapter.getMapViews()) {
        m.onDestroy();
      }
    }

    super.onDestroy();
  }
  @Override
  protected void onDestroy() {
    mv.onDestroy();

    super.onDestroy();
  }
 @Override
 public void onDestroy() {
   super.onDestroy();
   mMapView.onDestroy();
 }
 @Override
 public void onDestroy() {
   mapView.onDestroy();
   super.onDestroy();
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   vistaMapa.onDestroy();
 }