diff --git a/gpxsee.qrc b/gpxsee.qrc index 15b56a93..f5b3746f 100644 --- a/gpxsee.qrc +++ b/gpxsee.qrc @@ -206,6 +206,7 @@ icons/map/marine/kelp.png icons/map/marine/eddies.png icons/map/marine/dome.png + icons/map/marine/radar-reflector.png diff --git a/icons/map/marine/radar-reflector.png b/icons/map/marine/radar-reflector.png new file mode 100644 index 00000000..69da1b2f Binary files /dev/null and b/icons/map/marine/radar-reflector.png differ diff --git a/src/map/ENC/mapdata.cpp b/src/map/ENC/mapdata.cpp index 66cf373f..2e41d2a8 100644 --- a/src/map/ENC/mapdata.cpp +++ b/src/map/ENC/mapdata.cpp @@ -63,16 +63,17 @@ static QMap orderMapInit() map.insert(TYPE(PILPNT), 34); map.insert(TYPE(ACHBRT), 35); map.insert(TYPE(I_ACHBRT), 35); - map.insert(TYPE(CRANES), 36); - map.insert(TYPE(I_CRANES), 36); - map.insert(TYPE(I_WTWGAG), 37); - map.insert(TYPE(PYLONS), 38); - map.insert(TYPE(SLCONS), 39); - map.insert(TYPE(LNDMRK), 40); - map.insert(TYPE(SILTNK), 41); - map.insert(TYPE(LNDELV), 42); - map.insert(TYPE(SMCFAC), 43); - map.insert(TYPE(BUISGL), 44); + map.insert(TYPE(RADRFL), 36); + map.insert(TYPE(CRANES), 37); + map.insert(TYPE(I_CRANES), 37); + map.insert(TYPE(I_WTWGAG), 38); + map.insert(TYPE(PYLONS), 39); + map.insert(TYPE(SLCONS), 40); + map.insert(TYPE(LNDMRK), 41); + map.insert(TYPE(SILTNK), 42); + map.insert(TYPE(LNDELV), 43); + map.insert(TYPE(SMCFAC), 44); + map.insert(TYPE(BUISGL), 45); map.insert(TYPE(I_DISMAR), 0xFFFFFFFE); map.insert(TYPE(SOUNDG), 0xFFFFFFFF); diff --git a/src/map/ENC/objects.h b/src/map/ENC/objects.h index 652797c2..580a5bf6 100644 --- a/src/map/ENC/objects.h +++ b/src/map/ENC/objects.h @@ -67,6 +67,7 @@ #define PONTON 95 #define PRCARE 96 #define PYLONS 98 +#define RADRFL 101 #define RADSTA 102 #define RTPBCN 103 #define RDOCAL 104 diff --git a/src/map/ENC/style.cpp b/src/map/ENC/style.cpp index 1b009f14..82f36f34 100644 --- a/src/map/ENC/style.cpp +++ b/src/map/ENC/style.cpp @@ -335,6 +335,7 @@ void Style::pointStyle(qreal ratio) _points[SUBTYPE(WEDKLP, 0)] = Point(QImage(":/marine/kelp.png")); _points[SUBTYPE(WEDKLP, 1)] = Point(QImage(":/marine/kelp.png")); _points[TYPE(SEAARE)].setHaloColor(QColor()); + _points[TYPE(RADRFL)] = Point(QImage(":/marine/radar-reflector.png")); _points[SUBTYPE(SMCFAC, 7)] = Point(svg2img(":/POI/restaurant-11.svg", ratio), Small);