Commit 942cd301 authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Hide unknown polygons

parent 5a221b82
......@@ -107,7 +107,7 @@ void OsmRelation::create(GeoDataDocument *document, const OsmWays &ways, const O
placemark->setOsmData(m_osmData);
placemark->setVisualCategory(outerCategory);
placemark->setStyle( GeoDataStyle::Ptr() );
placemark->setVisible(shouldRender);
placemark->setVisible(shouldRender && outerCategory != GeoDataFeature::None);
GeoDataPolygon* polygon = new GeoDataPolygon;
polygon->setOuterBoundary(outer[0]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment