mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Some more missing ENC objects
This commit is contained in:
parent
414bdead17
commit
ccb0364e76
@ -172,6 +172,7 @@
|
||||
<file alias="chimney.png">icons/map/marine/chimney.png</file>
|
||||
<file alias="platform.png">icons/map/marine/platform.png</file>
|
||||
<file alias="ferry-line.png">icons/map/marine/ferry-line.png</file>
|
||||
<file alias="dw-route-line.png">icons/map/marine/dw-route-line.png</file>
|
||||
</qresource>
|
||||
|
||||
<!-- Mapsforge rendertheme -->
|
||||
|
BIN
icons/map/marine/dw-route-line.png
Normal file
BIN
icons/map/marine/dw-route-line.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
@ -451,7 +451,7 @@ MapData::Attr MapData::lineAttr(const ISO8211::Record &r, uint OBJL)
|
||||
if ((OBJL == DEPCNT && key == VALDCO)
|
||||
|| (OBJL == LNDELV && key == ELEVAT))
|
||||
label = QString::fromLatin1(av.at(1).toByteArray());
|
||||
if (OBJL == RECTRC && key == CATTRK)
|
||||
if ((OBJL == RECTRC || OBJL == RCRTCL) && key == CATTRK)
|
||||
subtype = av.at(1).toByteArray().toUInt();
|
||||
}
|
||||
|
||||
|
@ -50,6 +50,7 @@
|
||||
#define PRCARE 96
|
||||
#define PYLONS 98
|
||||
#define RAILWY 106
|
||||
#define RCRTCL 108
|
||||
#define RECTRC 109
|
||||
#define RESARE 112
|
||||
#define RIVERS 114
|
||||
|
@ -65,6 +65,7 @@ void Style::defaultPolygonStyle()
|
||||
1));
|
||||
_polygons[TYPE(FLODOC)] = Polygon(QBrush("#333333"), QPen(QColor("#000000"),
|
||||
1));
|
||||
_polygons[TYPE(41)] = Polygon(QImage(":/marine/dw-route-line"));
|
||||
|
||||
_drawOrder
|
||||
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
|
||||
@ -76,7 +77,7 @@ void Style::defaultPolygonStyle()
|
||||
<< TYPE(PONTON) << TYPE(FLODOC) << TYPE(DRYDOC) << TYPE(DAMCON)
|
||||
<< TYPE(PYLONS) << TYPE(DMPGRD) << TYPE(TSEZNE) << TYPE(OBSTRN)
|
||||
<< SUBTYPE(ACHARE, 1) << SUBTYPE(RESARE, 9) << SUBTYPE(RESARE, 2)
|
||||
<< TYPE(PRCARE);
|
||||
<< TYPE(PRCARE) << TYPE(41);
|
||||
}
|
||||
|
||||
void Style::defaultLineStyle()
|
||||
@ -109,6 +110,8 @@ void Style::defaultLineStyle()
|
||||
_lines[TYPE(TSELNE)] = Line(QPen(QColor("#80fcb4fc"), 4, Qt::SolidLine));
|
||||
_lines[SUBTYPE(RECTRC, 1)] = Line(QPen(QColor("#000000"), 0, Qt::SolidLine));
|
||||
_lines[SUBTYPE(RECTRC, 2)] = Line(QPen(QColor("#000000"), 0, Qt::DashLine));
|
||||
_lines[SUBTYPE(RCRTCL, 1)] = Line(QPen(QColor("#eb49eb"), 0, Qt::SolidLine));
|
||||
_lines[SUBTYPE(RCRTCL, 2)] = Line(QPen(QColor("#eb49eb"), 0, Qt::DashLine));
|
||||
_lines[TYPE(FAIRWY)] = Line(QPen(QColor("#888888"), 1, Qt::DashDotDotLine));
|
||||
_lines[TYPE(BERTHS)] = Line(QPen(QColor("#333333"), 2));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user