summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-12 18:01:08 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-12 18:01:08 (GMT)
commit0b03928c7a6dd17862389261efd377a79d02018d (patch)
tree686dfff82dc6d8292233060dcf22df108e320afd
parent7d611dd03fb777e7568f7bf5678c7610c915cd58 (diff)
Show labels on top of graticule. Follow-up to 0db4ede.
-rw-r--r--src/lib/marble/LayerManager.cpp1
-rw-r--r--src/lib/marble/layers/PlacemarkLayer.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/marble/LayerManager.cpp b/src/lib/marble/LayerManager.cpp
index c87293e..c4d1c4b 100644
--- a/src/lib/marble/LayerManager.cpp
+++ b/src/lib/marble/LayerManager.cpp
@@ -137,6 +137,7 @@ void LayerManager::renderLayers( GeoPainter *painter, ViewportParams *viewport )
<< QStringLiteral("SURFACE")
<< QStringLiteral("HOVERS_ABOVE_SURFACE")
<< QStringLiteral("GRATICULE")
+ << QStringLiteral("PLACEMARKS")
<< QStringLiteral("ATMOSPHERE")
<< QStringLiteral("ORBIT")
<< QStringLiteral("ALWAYS_ON_TOP")
diff --git a/src/lib/marble/layers/PlacemarkLayer.cpp b/src/lib/marble/layers/PlacemarkLayer.cpp
index 4d361bb..13bd180 100644
--- a/src/lib/marble/layers/PlacemarkLayer.cpp
+++ b/src/lib/marble/layers/PlacemarkLayer.cpp
@@ -50,7 +50,7 @@ PlacemarkLayer::~PlacemarkLayer()
QStringList PlacemarkLayer::renderPosition() const
{
- return QStringList(QStringLiteral("HOVERS_ABOVE_SURFACE"));
+ return QStringList(QStringLiteral("PLACEMARKS"));
}
qreal PlacemarkLayer::zValue() const