      QVariantMap pinSource;
      pinSource["type"] = "geojson";
      pinSource["data"] = QVariant::fromValue<QMapbox::Feature>(feature);
      m_map->updateSource("pinSource", pinSource);
      m_map->setPaintProperty("pinLayer", "icon-opacity", 1);
    }
  }
 
</s> remove   m_map->setPaintProperty("pinLayer", "icon-opacity", 0);
 </s> add   m_map->setPaintProperty("pinLayer", "visibility", "none");
    m_map->setPaintProperty("pinLayer", "visibility", "visible");
      QVariantMap pinSource;
      pinSource["type"] = "geojson";
      pinSource["data"] = QVariant::fromValue<QMapbox::Feature>(feature);
      m_map->updateSource("pinSource", pinSource);
    m_map->setPaintProperty("pinLayer", "visibility", "visible");
    }
  }
keep keep keep keep replace 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