private void showOnMap() {
    if (waypoint == null || waypoint.latitude == null || waypoint.longitude == null) {
      warning.showToast(res.getString(R.string.err_location_unknown));
    }

    Intent mapIntent = new Intent(activity, settings.getMapFactory().getMapClass());
    mapIntent.putExtra("latitude", waypoint.latitude);
    mapIntent.putExtra("longitude", waypoint.longitude);
    mapIntent.putExtra("wpttype", waypoint.type);

    activity.startActivity(mapIntent);
  }
  @Override
  public void onResume() {
    super.onResume();

    settings.load();

    if (geo == null) {
      geo = app.startGeo(activity, geoUpdate, base, settings, warning, 0, 0);
    }

    if (waitDialog == null) {
      waitDialog = ProgressDialog.show(this, null, res.getString(R.string.waypoint_loading), true);
      waitDialog.setCancelable(true);

      (new loadWaypoint()).start();
    }
  }