mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Prohibited areas
This commit is contained in:
parent
08dbb315cb
commit
07954b7d1a
@ -185,6 +185,7 @@
|
||||
<file alias="radar-transponder.png">icons/map/marine/radar-transponder.png</file>
|
||||
<file alias="silo.png">icons/map/marine/silo.png</file>
|
||||
<file alias="turning-basin.png">icons/map/marine/turning-basin.png</file>
|
||||
<file alias="entry-prohibited-line.png">icons/map/marine/entry-prohibited-line.png</file>
|
||||
</qresource>
|
||||
|
||||
<!-- Mapsforge rendertheme -->
|
||||
|
BIN
icons/map/marine/entry-prohibited-line.png
Normal file
BIN
icons/map/marine/entry-prohibited-line.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 180 B |
@ -558,6 +558,8 @@ MapData::Attr MapData::polyAttr(const ISO8211::Record &r, uint OBJL)
|
||||
|| (OBJL == I_RESARE && key == I_RESTRN)) {
|
||||
if (av.at(1).toByteArray().toUInt() == 1)
|
||||
subtype = 2;
|
||||
if (av.at(1).toByteArray().toUInt() == 7)
|
||||
subtype = 17;
|
||||
}
|
||||
|
||||
if ((OBJL == TSSLPT && key == ORIENT)
|
||||
|
@ -63,6 +63,10 @@ void Style::defaultPolygonStyle()
|
||||
Qt::BDiagPattern));
|
||||
_polygons[SUBTYPE(RESARE, 2)] = Polygon(QImage(":/marine/noanchor-line.png"));
|
||||
_polygons[SUBTYPE(I_RESARE, 2)] = Polygon(QImage(":/marine/noanchor-line.png"));
|
||||
_polygons[SUBTYPE(RESARE, 17)] = Polygon(
|
||||
QImage(":/marine/entry-prohibited-line.png"));
|
||||
_polygons[SUBTYPE(I_RESARE, 17)] = Polygon(
|
||||
QImage(":/marine/entry-prohibited-line.png"));
|
||||
_polygons[SUBTYPE(ACHARE, 1)] = Polygon(QImage(":/marine/anchor-line.png"));
|
||||
_polygons[SUBTYPE(I_ACHARE, 1)] = Polygon(QImage(":/marine/anchor-line.png"));
|
||||
_polygons[TYPE(PRCARE)] = Polygon(QBrush(QColor("#eb49eb"),
|
||||
@ -77,7 +81,7 @@ void Style::defaultPolygonStyle()
|
||||
1));
|
||||
_polygons[TYPE(I_FLODOC)] = Polygon(QBrush("#333333"),
|
||||
QPen(QColor("#000000"), 1));
|
||||
_polygons[TYPE(DWRTPT)] = Polygon(QImage(":/marine/dw-route-line"));
|
||||
_polygons[TYPE(DWRTPT)] = Polygon(QImage(":/marine/dw-route-line.png"));
|
||||
_polygons[TYPE(MORFAC)] = Polygon(QBrush("#e8e064"), QPen(QColor("#000000"),
|
||||
2));
|
||||
_polygons[TYPE(GATCON)] = Polygon(QBrush("#000000"));
|
||||
@ -105,7 +109,8 @@ void Style::defaultPolygonStyle()
|
||||
<< TYPE(GATCON) << TYPE(I_GATCON) << TYPE(DMPGRD) << TYPE(TSEZNE)
|
||||
<< TYPE(OBSTRN) << TYPE(UWTROC) << TYPE(DWRTPT) << SUBTYPE(ACHARE, 1)
|
||||
<< SUBTYPE(I_ACHARE, 1) << SUBTYPE(RESARE, 9) << SUBTYPE(RESARE, 2)
|
||||
<< SUBTYPE(I_RESARE, 2) << TYPE(PRCARE);
|
||||
<< SUBTYPE(I_RESARE, 2) << SUBTYPE(RESARE, 17) << SUBTYPE(I_RESARE, 17)
|
||||
<< TYPE(PRCARE);
|
||||
}
|
||||
|
||||
void Style::defaultLineStyle()
|
||||
|
Loading…
Reference in New Issue
Block a user