  
  qt_env['CPPDEFINES'] = []
  if maps:
    base_libs += ['qmapboxgl']
    widgets_src += ["qt/maps/map_helpers.cc", "qt/maps/map_settings.cc", "qt/maps/map.cc"]
    qt_env['CPPDEFINES'] += ["ENABLE_MAPS"]
  
  widgets = qt_env.Library("qt_widgets", widgets_src, LIBS=base_libs)
  Export('widgets')
  qt_libs = [widgets, qt_util] + base_libs
 
</s> remove       QObject::connect(repeater, &RequestRepeater::requestDone, this, &MapPanel::parseResponse);
 </s> add       QObject::connect(repeater, &RequestRepeater::requestDone, this, &MapSettings::parseResponse); </s> remove       MapWindow * m = new MapWindow(get_mapbox_settings());
 </s> add       auto m = new MapPanel(get_mapbox_settings()); </s> remove     setVisible(dest.has_value());
 </s> add     emit requestVisible(dest.has_value()); </s> remove   recent_layout->addStretch();
 </s> add   // add home and work if missing
  if (!has_home) {
    auto widget = new DestinationWidget(this);
    widget->unset(NAV_FAVORITE_LABEL_HOME);
    destinations_layout->insertWidget(0, widget);
  }
  if (!has_work) {
    auto widget = new DestinationWidget(this);
    widget->unset(NAV_FAVORITE_LABEL_WORK);
    // TODO: refactor to remove this hack
    int index = !has_home || (current_destination && current_destination->isFavorite() && current_destination->label() == NAV_FAVORITE_LABEL_HOME) ? 0 : 1;
    destinations_layout->insertWidget(index, widget);
  }

  destinations_layout->addStretch(); </s> remove       QObject::connect(uiState(), &UIState::offroadTransition, m, &MapWindow::offroadTransition);

 </s> add 
  widgets_src += ["qt/maps/map_helpers.cc", "qt/maps/map_settings.cc", "qt/maps/map.cc", "qt/maps/map_panel.cc"]
  
  qt_env['CPPDEFINES'] = []
  if maps:
    base_libs += ['qmapboxgl']
  widgets_src += ["qt/maps/map_helpers.cc", "qt/maps/map_settings.cc", "qt/maps/map.cc", "qt/maps/map_panel.cc"]
    qt_env['CPPDEFINES'] += ["ENABLE_MAPS"]
  
  widgets = qt_env.Library("qt_widgets", widgets_src, LIBS=base_libs)
  Export('widgets')
  qt_libs = [widgets, qt_util] + base_libs
keep keep keep keep replace keep keep keep keep keep
 UI: improved nav destination entry (#28476) 
selfdrive/ui/SConscript