summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-01 16:38:55 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-11-05 16:49:30 (GMT)
commitde1ea4c57fad4bbe06e895cff9c74e2ea6cb97f4 (patch)
tree72c84ff624da2d543cfd8b203f7a1f99440efaa6
parent3a572a24d3947e0307249148dd12b143929845a4 (diff)
Further level tweak: Default back to 18, bench and waste basket to 19.
-rw-r--r--src/lib/marble/PlacemarkLayout.cpp2
-rw-r--r--src/plugins/runner/osm/OsmNode.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/marble/PlacemarkLayout.cpp b/src/lib/marble/PlacemarkLayout.cpp
index 7a874e6..9a71cc8 100644
--- a/src/lib/marble/PlacemarkLayout.cpp
+++ b/src/lib/marble/PlacemarkLayout.cpp
@@ -410,7 +410,7 @@ QVector<VisiblePlacemark *> PlacemarkLayout::generateLayout( const ViewportParam
}
int zoomLevel = placemark->zoomLevel();
- if ( zoomLevel > 18 ) {
+ if ( zoomLevel > 20 ) {
break;
}
diff --git a/src/plugins/runner/osm/OsmNode.cpp b/src/plugins/runner/osm/OsmNode.cpp
index dbda8d8..e34cfe8 100644
--- a/src/plugins/runner/osm/OsmNode.cpp
+++ b/src/plugins/runner/osm/OsmNode.cpp
@@ -84,8 +84,12 @@ void OsmNode::create(GeoDataDocument *document) const
case GeoDataPlacemark::NaturalPeak:
placemark->setZoomLevel(11);
break;
+ case GeoDataPlacemark::AmenityBench:
+ case GeoDataPlacemark::AmenityWasteBasket:
+ placemark->setZoomLevel(19);
+ break;
default:
- placemark->setZoomLevel(17);
+ placemark->setZoomLevel(18);
break;
}