summaryrefslogtreecommitdiff
path: root/include/mbgl/style
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-07-17 14:54:22 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-07-17 14:54:22 -0700
commitc01143a73185431d2faa2f2ac0ccc03920cab296 (patch)
tree8717c7a926701a5288c888bb0675ace4cd9ff791 /include/mbgl/style
parentafe069df2b4a4b3ef72328fc960389ea9cfb121b (diff)
downloadqtlocation-mapboxgl-c01143a73185431d2faa2f2ac0ccc03920cab296.tar.gz
parse min-zoom/max-zoom values
refs mapbox/mapbox-gl-style-spec#65
Diffstat (limited to 'include/mbgl/style')
-rw-r--r--include/mbgl/style/style_bucket.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/style/style_bucket.hpp b/include/mbgl/style/style_bucket.hpp
index 62f072d9cd..6508abca20 100644
--- a/include/mbgl/style/style_bucket.hpp
+++ b/include/mbgl/style/style_bucket.hpp
@@ -79,6 +79,8 @@ public:
std::string source_layer;
FilterExpression filter;
StyleBucketRender render = std::false_type();
+ float min_zoom = -std::numeric_limits<float>::infinity();
+ float max_zoom = std::numeric_limits<float>::infinity();
};