summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-07-23 15:25:55 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-07-23 15:25:55 (GMT)
commitc1fab1897e2362841f14e03ba330d103668b39b9 (patch)
tree36c589cfd6f276178af031c8222156fe17bdec61
parent0079084a100fd1f3892b7d4ccbc39be886390d3a (diff)
Hide unknown ways
-rw-r--r--src/plugins/runner/osm/OsmWay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/runner/osm/OsmWay.cpp b/src/plugins/runner/osm/OsmWay.cpp
index 17b6ba6..f28a4e7 100644
--- a/src/plugins/runner/osm/OsmWay.cpp
+++ b/src/plugins/runner/osm/OsmWay.cpp
@@ -41,7 +41,7 @@ void OsmWay::create(GeoDataDocument *document, const OsmNodes &nodes, QSet<qint6
placemark->setOsmData(m_osmData);
placemark->setVisualCategory(OsmPresetLibrary::determineVisualCategory(m_osmData));
placemark->setName(m_osmData.tagValue("name"));
- placemark->setVisible(shouldRender);
+ placemark->setVisible(shouldRender && placemark->visualCategory() != GeoDataFeature::None);
if (isArea()) {
GeoDataLinearRing* linearRing = new GeoDataLinearRing;