|
|
@ -5,6 +5,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <QDebug> |
|
|
|
#include <QDebug> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "common/swaglog.h" |
|
|
|
#include "selfdrive/ui/qt/maps/map_helpers.h" |
|
|
|
#include "selfdrive/ui/qt/maps/map_helpers.h" |
|
|
|
#include "selfdrive/ui/qt/util.h" |
|
|
|
#include "selfdrive/ui/qt/util.h" |
|
|
|
#include "selfdrive/ui/ui.h" |
|
|
|
#include "selfdrive/ui/ui.h" |
|
|
@ -262,6 +263,10 @@ void MapWindow::initializeGL() { |
|
|
|
loaded_once = true; |
|
|
|
loaded_once = true; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QObject::connect(m_map.data(), &QMapLibre::Map::mapLoadingFailed, [=](QMapLibre::Map::MapLoadingFailure err_code, const QString &reason) { |
|
|
|
|
|
|
|
LOGE("Map loading failed with %d: '%s'\n", err_code, reason.toStdString().c_str()); |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void MapWindow::paintGL() { |
|
|
|
void MapWindow::paintGL() { |
|
|
|