    last_bearing = {};
  }
  
  void MapWindow::updateDestinationMarker() {
    m_map->setPaintProperty("pinLayer", "icon-opacity", 0);
  
    auto nav_dest = coordinate_from_param("NavDestination");
    if (nav_dest.has_value()) {
      auto point = coordinate_to_collection(*nav_dest);
      QMapbox::Feature feature(QMapbox::Feature::PointType, point, {}, {});
 
</s> remove     m_map->setPaintProperty("pinLayer", "icon-opacity", 1);
 </s> add     m_map->setPaintProperty("pinLayer", "visibility", "visible");
  m_map->setPaintProperty("pinLayer", "visibility", "none");
    last_bearing = {};
  }
  
  void MapWindow::updateDestinationMarker() {
  m_map->setPaintProperty("pinLayer", "visibility", "none");
  
    auto nav_dest = coordinate_from_param("NavDestination");
    if (nav_dest.has_value()) {
      auto point = coordinate_to_collection(*nav_dest);
      QMapbox::Feature feature(QMapbox::Feature::PointType, point, {}, {});
keep keep keep keep replace keep keep keep keep keep
 ui: set global map transition duration (#29061)

* this works!

* revert properties

* more clean up

* more

* more

* add comment

* final 
selfdrive/ui/qt/maps/map.cc