summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-10-25 18:19:22 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-11-05 16:47:11 (GMT)
commit4a15b4ca8897097ab19c888ab9d0d7b738a0b022 (patch)
tree8370eee4c1fdf64c18ec3f445ae53a4e2d2dfd4d
parent3ba3d3e626ee626d16ab38ff1f4554eba100f298 (diff)
Have osm placemarks appear at level 11 onwards by default
-rw-r--r--src/plugins/runner/osm/OsmNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/runner/osm/OsmNode.cpp b/src/plugins/runner/osm/OsmNode.cpp
index ad5e0e3..ba54c28 100644
--- a/src/plugins/runner/osm/OsmNode.cpp
+++ b/src/plugins/runner/osm/OsmNode.cpp
@@ -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;
}
}
}