nav: set icon anchor for destination pin (#29054)

* anchor!

* whoops

* fix anchor
pull/29060/head
Shane Smiskol 2 years ago committed by GitHub
parent ba03e94290
commit d0ea8be95f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/ui/qt/maps/map.cc

@ -131,6 +131,7 @@ void MapWindow::initLayers() {
m_map->setLayoutProperty("pinLayer", "icon-ignore-placement", true);
m_map->setLayoutProperty("pinLayer", "icon-allow-overlap", true);
m_map->setLayoutProperty("pinLayer", "symbol-sort-key", 0);
m_map->setLayoutProperty("pinLayer", "icon-anchor", "bottom");
}
if (!m_map->layerExists("carPosLayer")) {
qDebug() << "Initializing carPosLayer";

Loading…
Cancel
Save