pull/32571/head
Shane Smiskol 1 year ago
parent 55ce6f1de6
commit 92790ea682
  1. 4
      selfdrive/ui/qt/maps/map.cc

@ -213,9 +213,7 @@ void MapWindow::updateState(const UIState &s) {
}
if (sm.rcv_frame("navRoute") != route_rcv_frame) {
qWarning() << "Updating navLayer with new route" << m_settings.apiKey();
// m_settings.setApiKey(get_mapbox_token());
// qDebug() << m_settings.apiKey();
qWarning() << "Updating navLayer with new route";
auto route = sm["navRoute"].getNavRoute();
auto route_points = capnp_coordinate_list_to_collection(route.getCoordinates());
QMapLibre::Feature feature(QMapLibre::Feature::LineStringType, route_points, {}, {});

Loading…
Cancel
Save