summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <[email protected]>2016-06-16 20:04:21 +0200
committerDennis Nienhüser <[email protected]>2016-06-16 20:04:21 +0200
commitbcfb309803fa08e3fdf79b7de10b0887366d3a06 (patch)
treecc453e63741bbd89d1ce1e037706b588da538291
parentb871bb7c1a7213869419ca5ff6dadfd32c036122 (diff)
Set minimum zoom level for urban area
-rw-r--r--src/lib/marble/layers/GeometryLayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/marble/layers/GeometryLayer.cpp b/src/lib/marble/layers/GeometryLayer.cpp
index 1b6089c..4c96f99 100644
--- a/src/lib/marble/layers/GeometryLayer.cpp
+++ b/src/lib/marble/layers/GeometryLayer.cpp
@@ -344,6 +344,7 @@ void GeometryLayerPrivate::initializeDefaultValues()
s_defaultMinZoomLevels[GeoDataFeature::Satellite] = 0;
s_defaultMinZoomLevels[GeoDataFeature::Landmass] = 0;
+ s_defaultMinZoomLevels[GeoDataFeature::UrbanArea] = 3;
s_defaultMinZoomLevels[GeoDataFeature::AdminLevel1] = 0;
s_defaultMinZoomLevels[GeoDataFeature::AdminLevel2] = 1;