diff --git a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/airplane.png b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/airplane.png
index 81c73a7c4..bbf8ea43d 100644
Binary files a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/airplane.png and b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/airplane.png differ
diff --git a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/airplanepip.png b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/airplanepip.png
index d9b2279fc..ede869985 100644
Binary files a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/airplanepip.png and b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/airplanepip.png differ
diff --git a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/marker.png b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/marker.png
deleted file mode 100644
index d3770dd74..000000000
Binary files a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/marker.png and /dev/null differ
diff --git a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/waypoint_marker3.png b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/waypoint_marker3.png
deleted file mode 100644
index bd86af025..000000000
Binary files a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/waypoint_marker3.png and /dev/null differ
diff --git a/ground/gcs/src/plugins/opmap/images/waypoint_marker3.png b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/wp_marker_green.png
similarity index 100%
rename from ground/gcs/src/plugins/opmap/images/waypoint_marker3.png
rename to ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/wp_marker_green.png
diff --git a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/waypoint_marker2.png b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/wp_marker_orange.png
similarity index 100%
rename from ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/waypoint_marker2.png
rename to ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/wp_marker_orange.png
diff --git a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/waypoint_marker1.png b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/wp_marker_red.png
similarity index 100%
rename from ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/waypoint_marker1.png
rename to ground/gcs/src/libs/opmapcontrol/src/mapwidget/images/wp_marker_red.png
diff --git a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/mapresources.qrc b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/mapresources.qrc
index 3e0c53a0e..1bb14fffd 100644
--- a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/mapresources.qrc
+++ b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/mapresources.qrc
@@ -1,25 +1,21 @@
images/bigMarkerGreen.png
- images/marker.png
+ images/wp_marker_green.png
+ images/wp_marker_orange.png
+ images/wp_marker_red.png
images/compas.svg
- images/airplane.svg
+ images/home2.svg
+ images/nav.svg
images/home.png
images/home.svg
- images/nav.svg
- images/home2.svg
- images/airplanepip.png
- images/EasystarBlue.png
- images/mapquad.png
images/dragons1.jpg
images/dragons2.jpeg
- images/waypoint_marker1.png
- images/waypoint_marker2.png
- images/waypoint_marker3.png
- images/airplanepip.png
- images/EasystarBlue.png
images/mapquad.png
+ images/airplanepip.png
+ images/airplane.png
+ images/EasystarBlue.png
diff --git a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/waypointitem.cpp b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/waypointitem.cpp
index 010a5c393..c256f56b2 100644
--- a/ground/gcs/src/libs/opmapcontrol/src/mapwidget/waypointitem.cpp
+++ b/ground/gcs/src/libs/opmapcontrol/src/mapwidget/waypointitem.cpp
@@ -35,7 +35,7 @@ WayPointItem::WayPointItem(const internals::PointLatLng &coord, int const & alti
text = 0;
numberI = 0;
isMagic = false;
- picture.load(QString::fromUtf8(":/markers/images/marker.png"));
+ picture.load(":/markers/images/wp_marker_red.png");
number = WayPointItem::snumber;
++WayPointItem::snumber;
this->setFlag(QGraphicsItem::ItemIsMovable, true);
@@ -64,7 +64,7 @@ WayPointItem::WayPointItem(MapGraphicItem *map, bool magicwaypoint) : reached(fa
myType = relative;
if (magicwaypoint) {
isMagic = true;
- picture.load(QString::fromUtf8(":/opmap/images/waypoint_marker3.png"));
+ picture.load(":/markers/images/wp_marker_green.png");
number = -1;
} else {
isMagic = false;
@@ -95,7 +95,7 @@ WayPointItem::WayPointItem(const internals::PointLatLng &coord, int const & alti
text = 0;
numberI = 0;
isMagic = false;
- picture.load(QString::fromUtf8(":/markers/images/marker.png"));
+ picture.load(":/markers/images/wp_marker_red.png");
number = WayPointItem::snumber;
++WayPointItem::snumber;
this->setFlag(QGraphicsItem::ItemIsMovable, true);
@@ -128,7 +128,7 @@ WayPointItem::WayPointItem(const distBearingAltitude &relativeCoordenate, const
text = 0;
numberI = 0;
isMagic = false;
- picture.load(QString::fromUtf8(":/markers/images/marker.png"));
+ picture.load(":/markers/images/wp_marker_red.png");
number = WayPointItem::snumber;
++WayPointItem::snumber;
this->setFlag(QGraphicsItem::ItemIsMovable, true);
@@ -301,16 +301,16 @@ void WayPointItem::SetReached(const bool &value)
reached = value;
emit WPValuesChanged(this);
if (value) {
- picture.load(QString::fromUtf8(":/markers/images/bigMarkerGreen.png"));
+ picture.load(":/markers/images/bigMarkerGreen.png");
} else {
if (!isMagic) {
if ((this->flags() & QGraphicsItem::ItemIsMovable) == QGraphicsItem::ItemIsMovable) {
- picture.load(QString::fromUtf8(":/markers/images/marker.png"));
+ picture.load(":/markers/images/wp_marker_red.png");
} else {
- picture.load(QString::fromUtf8(":/markers/images/waypoint_marker2.png"));
+ picture.load(":/markers/images/wp_marker_orange.png");
}
} else {
- picture.load(QString::fromUtf8(":/opmap/images/waypoint_marker3.png"));
+ picture.load(":/markers/images/wp_marker_green.png");
}
}
this->update();
@@ -436,9 +436,9 @@ void WayPointItem::setFlag(QGraphicsItem::GraphicsItemFlag flag, bool enabled)
return;
} else if (flag == QGraphicsItem::ItemIsMovable) {
if (enabled) {
- picture.load(QString::fromUtf8(":/markers/images/marker.png"));
+ picture.load(":/markers/images/wp_marker_red.png");
} else {
- picture.load(QString::fromUtf8(":/markers/images/waypoint_marker2.png"));
+ picture.load(":/markers/images/wp_marker_orange.png");
}
}
QGraphicsItem::setFlag(flag, enabled);
diff --git a/ground/gcs/src/plugins/opmap/images/waypoint_marker1.png b/ground/gcs/src/plugins/opmap/images/waypoint_marker1.png
deleted file mode 100644
index bc5868740..000000000
Binary files a/ground/gcs/src/plugins/opmap/images/waypoint_marker1.png and /dev/null differ
diff --git a/ground/gcs/src/plugins/opmap/images/waypoint_marker2.png b/ground/gcs/src/plugins/opmap/images/waypoint_marker2.png
deleted file mode 100644
index 8a0629a26..000000000
Binary files a/ground/gcs/src/plugins/opmap/images/waypoint_marker2.png and /dev/null differ
diff --git a/ground/gcs/src/plugins/opmap/opmap.qrc b/ground/gcs/src/plugins/opmap/opmap.qrc
index 10073e59e..348351c6c 100644
--- a/ground/gcs/src/plugins/opmap/opmap.qrc
+++ b/ground/gcs/src/plugins/opmap/opmap.qrc
@@ -14,14 +14,11 @@
images/hold.png
images/go.png
images/combobox_down_arrow.png
- images/waypoint_marker2.png
- images/waypoint_marker1.png
images/uav_heading.png
images/uav_trail.png
images/uav_trail_clear.png
images/minus.png
images/plus.png
- images/waypoint_marker3.png
images/home_wp.png
images/move_to_wp.png
images/center_wp.png
diff --git a/ground/gcs/src/plugins/opmap/opmapgadgetwidget.cpp b/ground/gcs/src/plugins/opmap/opmapgadgetwidget.cpp
index 8db51bbda..01071b9e8 100644
--- a/ground/gcs/src/plugins/opmap/opmapgadgetwidget.cpp
+++ b/ground/gcs/src/plugins/opmap/opmapgadgetwidget.cpp
@@ -1984,9 +1984,9 @@ void OPMapGadgetWidget::onLockWayPointAct_triggered()
m_mouse_waypoint->setFlag(QGraphicsItem::ItemIsMovable, locked);
if (!locked) {
- m_mouse_waypoint->picture.load(QString::fromUtf8(":/opmap/images/waypoint_marker2.png"));
+ m_mouse_waypoint->picture.load(":/markers/images/wp_marker_orange.png");
} else {
- m_mouse_waypoint->picture.load(QString::fromUtf8(":/opmap/images/waypoint_marker1.png"));
+ m_mouse_waypoint->picture.load(":/markers/images/wp_marker_red.png");
}
m_mouse_waypoint->update();