summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Rahn <[email protected]>2015-11-01 00:50:15 +0100
committerTorsten Rahn <[email protected]>2015-11-01 01:01:26 +0100
commit7967d9c417ef2a6f061810b42263b6abf2082f13 (patch)
tree52ac913b1ded70a5e774f2beb0604c671448b6a8
parent90cfcdd5805bd3bd697051ad51e08796d29e70f7 (diff)
Don't let the Lombardostreet disappear
(and don't display streets in front of towers). Assigning a z level to Residential Highways.
-rw-r--r--src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp2
-rw-r--r--src/lib/marble/layers/GeometryLayer.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp b/src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp
index 149e77a..1b94a92 100644
--- a/src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp
+++ b/src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp
@@ -182,8 +182,6 @@ void GeoPolygonGraphicsItem::paint( GeoPainter* painter, const ViewportParams* v
{
painter->save();
-
-
bool const isBuildingFrame = isDecoration();
bool const isBuildingRoof = !isDecoration() && !decorations().isEmpty();
diff --git a/src/lib/marble/layers/GeometryLayer.cpp b/src/lib/marble/layers/GeometryLayer.cpp
index fba336e..07ddc94 100644
--- a/src/lib/marble/layers/GeometryLayer.cpp
+++ b/src/lib/marble/layers/GeometryLayer.cpp
@@ -193,6 +193,7 @@ void GeometryLayerPrivate::initializeDefaultValues()
s_defaultZValues[GeoDataFeature::HighwayFootway] = s_defaultZValue - 8;
s_defaultZValues[GeoDataFeature::HighwayCycleway] = s_defaultZValue - 8;
s_defaultZValues[GeoDataFeature::HighwayService] = s_defaultZValue - 7;
+ s_defaultZValues[GeoDataFeature::HighwayResidential] = s_defaultZValue - 7;
s_defaultZValues[GeoDataFeature::HighwayLivingStreet] = s_defaultZValue - 7;
s_defaultZValues[GeoDataFeature::HighwayPedestrian] = s_defaultZValue - 6;
s_defaultZValues[GeoDataFeature::HighwayRoad] = s_defaultZValue - 6;