diff --git a/gpxsee.qrc b/gpxsee.qrc index ebdebefa..420a14f8 100644 --- a/gpxsee.qrc +++ b/gpxsee.qrc @@ -174,6 +174,7 @@ icons/map/marine/ferry-line.png icons/map/marine/dw-route-line.png icons/map/marine/fence-line.png + icons/map/marine/crane.png diff --git a/icons/map/marine/crane.png b/icons/map/marine/crane.png new file mode 100644 index 00000000..256c7d58 Binary files /dev/null and b/icons/map/marine/crane.png differ diff --git a/src/map/ENC/objects.h b/src/map/ENC/objects.h index 6e0cebd3..a30777b9 100644 --- a/src/map/ENC/objects.h +++ b/src/map/ENC/objects.h @@ -23,6 +23,7 @@ #define CBLSUB 22 #define CANALS 23 #define COALNE 30 +#define CRANES 35 #define DAMCON 38 #define DWRTPT 41 #define DEPARE 42 diff --git a/src/map/ENC/style.cpp b/src/map/ENC/style.cpp index cac84c2c..d1cff4be 100644 --- a/src/map/ENC/style.cpp +++ b/src/map/ENC/style.cpp @@ -66,6 +66,8 @@ void Style::defaultPolygonStyle() _polygons[TYPE(FLODOC)] = Polygon(QBrush("#333333"), QPen(QColor("#000000"), 1)); _polygons[TYPE(DWRTPT)] = Polygon(QImage(":/marine/dw-route-line")); + _polygons[TYPE(MORFAC)] = Polygon(QBrush("#e8e064"), QPen(QColor("#000000"), + 2)); _drawOrder << TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0) @@ -75,9 +77,9 @@ void Style::defaultPolygonStyle() << TYPE(RIVERS) << TYPE(DRGARE) << TYPE(FAIRWY) << TYPE(BUAARE) << TYPE(BUISGL) << TYPE(AIRARE) << TYPE(BRIDGE) << TYPE(SLCONS) << TYPE(PONTON) << TYPE(FLODOC) << TYPE(DRYDOC) << TYPE(DAMCON) - << TYPE(PYLONS) << TYPE(DMPGRD) << TYPE(TSEZNE) << TYPE(OBSTRN) - << TYPE(DWRTPT) << SUBTYPE(ACHARE, 1) << SUBTYPE(RESARE, 9) - << SUBTYPE(RESARE, 2) << TYPE(PRCARE); + << TYPE(PYLONS) << TYPE(MORFAC) << TYPE(DMPGRD) << TYPE(TSEZNE) + << TYPE(OBSTRN) << TYPE(DWRTPT) << SUBTYPE(ACHARE, 1) + << SUBTYPE(RESARE, 9) << SUBTYPE(RESARE, 2) << TYPE(PRCARE); } void Style::defaultLineStyle() @@ -166,6 +168,7 @@ void Style::defaultPointStyle() _points[SUBTYPE(MORFAC, 5)] = Point(QImage(":/marine/pile.png"), Small); _points[SUBTYPE(MORFAC, 7)] = Point(QImage(":/marine/mooring-buoy.png"), Small); + _points[TYPE(CRANES)] = Point(QImage(":/marine/crane.png")); } Style::Style()