summaryrefslogtreecommitdiff
path: root/include/mbgl/style/sources/geojson_source.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-09-08 13:49:48 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-09-26 11:32:07 -0700
commit27ac70721ef85216ea85866d39b851f2417c8909 (patch)
treea9231cd1b69de97600a11ac14fb1d548b58cd94d /include/mbgl/style/sources/geojson_source.hpp
parenta06f4849bc58cbe21b001f1f15fd0828bde9b79b (diff)
downloadqtlocation-mapboxgl-upstream/geojson-minzoom.tar.gz
[core] Add minzoom to GeoJSONOptionsupstream/geojson-minzoom
Diffstat (limited to 'include/mbgl/style/sources/geojson_source.hpp')
-rw-r--r--include/mbgl/style/sources/geojson_source.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp
index 2dcfec51aa..5bdf1ef957 100644
--- a/include/mbgl/style/sources/geojson_source.hpp
+++ b/include/mbgl/style/sources/geojson_source.hpp
@@ -12,6 +12,7 @@ namespace style {
struct GeoJSONOptions {
// GeoJSON-VT options
+ uint8_t minzoom = 0;
uint8_t maxzoom = 18;
uint16_t buffer = 128;
double tolerance = 0.375;