summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-11-06 16:36:02 (GMT)
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-11-06 16:37:31 (GMT)
commite908fbc82c2f7a36309c29927e7b142049e5041b (patch)
tree9ba7eab9d8ae8be286b4d8bbae3dd7681f8e954b
parent52e9fbd1e82f72a83c5aa735638fac5882af69c2 (diff)
duplicate default min zoom levels to StyleBuilder
-rw-r--r--src/lib/marble/StyleBuilder.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/marble/StyleBuilder.cpp b/src/lib/marble/StyleBuilder.cpp
index bd48b58..b836120 100644
--- a/src/lib/marble/StyleBuilder.cpp
+++ b/src/lib/marble/StyleBuilder.cpp
@@ -108,6 +108,15 @@ StyleBuilder::Private::Private() :
m_defaultMinZoomLevels[i] = m_maximumZoomLevel;
m_defaultMinZoomLevels[GeoDataPlacemark::Default] = 1;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceCity] = 9;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceCityCapital] = 9;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceSuburb] = 13;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceHamlet] = 15;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceLocality] = 15;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceTown] = 11;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceTownCapital] = 11;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceVillage] = 13;
+ m_defaultMinZoomLevels[GeoDataPlacemark::PlaceVillageCapital] = 13;
m_defaultMinZoomLevels[GeoDataPlacemark::NaturalReef] = 3;
m_defaultMinZoomLevels[GeoDataPlacemark::NaturalWater] = 3;
m_defaultMinZoomLevels[GeoDataPlacemark::NaturalWood] = 8;
@@ -154,6 +163,8 @@ StyleBuilder::Private::Private() :
m_defaultMinZoomLevels[GeoDataPlacemark::AmenityGraveyard] = 14;
m_defaultMinZoomLevels[GeoDataPlacemark::AmenityFountain] = 17;
+ m_defaultMinZoomLevels[GeoDataPlacemark::AmenityBench] = 19;
+ m_defaultMinZoomLevels[GeoDataPlacemark::AmenityWasteBasket] = 19;
m_defaultMinZoomLevels[GeoDataPlacemark::MilitaryDangerArea] = 11;