  void OnroadWindow::offroadTransition(bool offroad) {
  #ifdef ENABLE_MAPS
    if (!offroad) {
      if (map == nullptr && (uiState()->primeType() || !MAPBOX_TOKEN.isEmpty())) {
        MapWindow * m = new MapWindow(get_mapbox_settings());
        map = m;
  
        QObject::connect(uiState(), &UIState::offroadTransition, m, &MapWindow::offroadTransition);
  
        m->setFixedWidth(topWidget(this)->width() / 2 - bdr_s);
 
</s> remove       QObject::connect(uiState(), &UIState::offroadTransition, m, &MapWindow::offroadTransition);

 </s> add  </s> remove       // Make map visible after adding to split
      m->offroadTransition(offroad);
 </s> add       // hidden by default, made visible when navRoute is published
      m->setVisible(false);
      auto m = new MapPanel(get_mapbox_settings());
  void OnroadWindow::offroadTransition(bool offroad) {
  #ifdef ENABLE_MAPS
    if (!offroad) {
      if (map == nullptr && (uiState()->primeType() || !MAPBOX_TOKEN.isEmpty())) {
      auto m = new MapPanel(get_mapbox_settings());
        map = m;
  
        QObject::connect(uiState(), &UIState::offroadTransition, m, &MapWindow::offroadTransition);
  
        m->setFixedWidth(topWidget(this)->width() / 2 - bdr_s);
keep keep keep keep replace keep keep keep keep keep
 UI: improved nav destination entry (#28476) 
selfdrive/ui/qt/onroad.cc