1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-02 16:23:03 +02:00

Show recommended tracks orientation

This commit is contained in:
Martin Tůma 2025-05-17 06:53:16 +02:00
parent d9e4d6c519
commit 2fec4dafda
2 changed files with 3 additions and 0 deletions

View File

@ -525,6 +525,8 @@ MapData::Line::Line(uint type, const QVector<Coordinates> &path,
_label = QString::fromLatin1(_attr.value(VALDCO));
else if (type == LNDELV)
_label = QString::fromLatin1(_attr.value(ELEVAT));
else if (type == RECTRC)
_label = QString::fromLatin1(_attr.value(ORIENT));
else
_label = QString::fromLatin1(_attr.value(OBJNAM));
}

View File

@ -411,6 +411,7 @@ void Style::lineStyle(qreal ratio)
Qt::SolidLine));
_lines[TYPE(I_WTWAXS)] = Line(QPen(QColor(0, 0, 0), 0, Qt::DashLine));
_lines[SUBTYPE(RECTRC, 1)] = Line(QPen(QColor(0, 0, 0), 0, Qt::SolidLine));
_lines[SUBTYPE(RECTRC, 1)].setTextFontSize(Small);
_lines[SUBTYPE(RECTRC, 2)] = Line(QPen(QColor(0, 0, 0), 0, Qt::DashLine));
_lines[SUBTYPE(RCRTCL, 1)] = Line(QPen(QColor(0xeb, 0x49, 0xeb), 0,
Qt::SolidLine));