      carPosSource["data"] = QVariant::fromValue<QMapbox::Feature>(feature1);
      m_map->updateSource("carPosSource", carPosSource);
    }
  
    if (pan_counter == 0) {
      if (last_position) m_map->setCoordinate(*last_position);
      if (last_bearing) m_map->setBearing(*last_bearing);
    } else {
      pan_counter--;
    }
 
</s> remove   } else {
    pan_counter--;
  }

  if (zoom_counter == 0) {
 </s> add  </s> remove     zoom_counter--;
 </s> add     interaction_counter--; </s> remove   zoom_counter = PAN_TIMEOUT;
 </s> add   interaction_counter = INTERACTION_TIMEOUT; </s> remove   pan_counter = 0;
  zoom_counter = 0;
 </s> add   interaction_counter = 0; </s> remove     pan_counter = PAN_TIMEOUT;
 </s> add     interaction_counter = INTERACTION_TIMEOUT;
  if (interaction_counter == 0) {
      carPosSource["data"] = QVariant::fromValue<QMapbox::Feature>(feature1);
      m_map->updateSource("carPosSource", carPosSource);
    }
  
  if (interaction_counter == 0) {
      if (last_position) m_map->setCoordinate(*last_position);
      if (last_bearing) m_map->setBearing(*last_bearing);
    } else {
      pan_counter--;
    }
keep keep keep keep replace keep keep keep keep keep
 ui/map: interactive counter fix (#29470)

* use interactive_counter instead of separate zoom and pan counters

* use interaction_counter instead of separate zoom and pan counters

* same styling

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com> 
selfdrive/ui/qt/maps/map.cc