|
|
@ -24,10 +24,7 @@ const float MAP_SCALE = 2; |
|
|
|
|
|
|
|
|
|
|
|
const QString ICON_SUFFIX = ".png"; |
|
|
|
const QString ICON_SUFFIX = ".png"; |
|
|
|
|
|
|
|
|
|
|
|
MapWindow::MapWindow(const QMapboxGLSettings &settings) : |
|
|
|
MapWindow::MapWindow(const QMapboxGLSettings &settings) : m_settings(settings), velocity_filter(0, 10, 0.05) { |
|
|
|
m_settings(settings), velocity_filter(0, 10, 0.05) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Update map view with uiUpdate signal
|
|
|
|
|
|
|
|
QObject::connect(uiState(), &UIState::uiUpdate, this, &MapWindow::updateState); |
|
|
|
QObject::connect(uiState(), &UIState::uiUpdate, this, &MapWindow::updateState); |
|
|
|
|
|
|
|
|
|
|
|
// Instructions
|
|
|
|
// Instructions
|
|
|
|