        }
      } else {
        clearRoute();
      }
    }
  
    if (sm.rcv_frame("navRoute") != route_rcv_frame) {
      qWarning() << "Updating navLayer with new route";
 
</s> remove     setVisible(dest.has_value());
 </s> add     emit requestVisible(dest.has_value()); </s> remove       setVisible(true); // Show map on destination set/change
 </s> add       emit requestVisible(true); // Show map on destination set/change
    // TODO: only move if position should change
    // don't move while map isn't visible
    if (isVisible()) {
      auto pos = 1080 - bdr_s*2 - settings_btn->height() - bdr_s;
      if (map_eta->isVisible()) {
        settings_btn->move(bdr_s, pos - map_eta->height());
        settings_btn->setIcon(settings_icon);
      } else {
        settings_btn->move(bdr_s, pos);
        settings_btn->setIcon(directions_icon);
      }
    }
        }
      } else {
        clearRoute();
      }
    // TODO: only move if position should change
    // don't move while map isn't visible
    if (isVisible()) {
      auto pos = 1080 - bdr_s*2 - settings_btn->height() - bdr_s;
      if (map_eta->isVisible()) {
        settings_btn->move(bdr_s, pos - map_eta->height());
        settings_btn->setIcon(settings_icon);
      } else {
        settings_btn->move(bdr_s, pos);
        settings_btn->setIcon(directions_icon);
      }
    }
    }
  
    if (sm.rcv_frame("navRoute") != route_rcv_frame) {
      qWarning() << "Updating navLayer with new route";
keep keep keep add keep keep keep keep
 UI: improved nav destination entry (#28476) 
selfdrive/ui/qt/maps/map.cc