        velocity_filter.update(velocity.getValue()[0]);
      }
    }
  
    if (sm->updated("navRoute") && (*sm)["navRoute"].getNavRoute().getCoordinates().size()) {
      qWarning() << "Got new navRoute from navd. Opening map:" << allow_open;
  
      // Only open the map on setting destination the first time
      if (allow_open) {
        setVisible(true); // Show map on destination set/change
 
</s> remove   if (sm->updated("navInstruction")) {
    if (sm->valid("navInstruction")) {
      auto i = (*sm)["navInstruction"].getNavInstruction();
 </s> add   if (sm.updated("navInstruction")) {
    if (sm.valid("navInstruction")) {
      auto i = sm["navInstruction"].getNavInstruction(); </s> remove   if (sm->rcv_frame("navRoute") != route_rcv_frame) {
 </s> add   if (sm.rcv_frame("navRoute") != route_rcv_frame) { </s> remove     auto route = (*sm)["navRoute"].getNavRoute();
 </s> add     auto route = sm["navRoute"].getNavRoute(); </s> remove     "wideRoadCameraState", "managerState",
 </s> add     "wideRoadCameraState", "managerState", "navInstruction", "navRoute",
  if (sm.updated("navRoute") && sm["navRoute"].getNavRoute().getCoordinates().size()) {
        velocity_filter.update(velocity.getValue()[0]);
      }
    }
  
  if (sm.updated("navRoute") && sm["navRoute"].getNavRoute().getCoordinates().size()) {
      qWarning() << "Got new navRoute from navd. Opening map:" << allow_open;
  
      // Only open the map on setting destination the first time
      if (allow_open) {
        setVisible(true); // Show map on destination set/change
keep keep keep keep replace keep keep keep keep keep
 UI: draw map with uiUpdate signal (#24632)

* draw map with same uiUpdate signal as onroad window

* fix

* fix

* fix

* test

* test

* clean up

* clean up

* clean up

* draw instantly when dragging

* self explanatory

* remove line

* fix spacing

* see if we call ui'c sm->update before mapwindow

* Revert "see if we call ui'c sm->update before mapwindow"

This reverts commit e5dcd70013750b871894c276e4d15d55b0c92e97.

* sort includes 
selfdrive/ui/qt/maps/map.cc