Commit 4a15b4ca authored by Dennis Nienhüser's avatar Dennis Nienhüser Committed by Friedrich W. H. Kossebau

Have osm placemarks appear at level 11 onwards by default

parent 3ba3d3e6
......@@ -59,7 +59,7 @@ void OsmNode::create(GeoDataDocument *document) const
placemark->setVisualCategory(category);
placemark->setStyle( GeoDataStyle::Ptr() );
placemark->setZoomLevel( 18 );
placemark->setZoomLevel( 11 );
if (category >= GeoDataPlacemark::PlaceCity && category <= GeoDataPlacemark::PlaceVillageCapital) {
int const population = m_osmData.tagValue(QStringLiteral("population")).toInt();
placemark->setPopulation(qMax(0, population));
......@@ -90,7 +90,7 @@ void OsmNode::create(GeoDataDocument *document) const
placemark->setZoomLevel(13);
break;
default:
placemark->setZoomLevel(10); break;
placemark->setZoomLevel(11); break;
}
}
}
......
Markdown is supported
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