diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-28 09:37:07 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-28 11:26:37 +0300 |
commit | e1be2c45c1efdbb5d6e14e9431444292adaf3c9a (patch) | |
tree | edcbeb017a401e2ac1574fd42c8343f2e7ccd158 /src | |
parent | 1fa1819de1ffadc74c07972b7195cfdaea663507 (diff) | |
download | qtlocation-mapboxgl-e1be2c45c1efdbb5d6e14e9431444292adaf3c9a.tar.gz |
[core] Set annotation max zoom to 18
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/annotation/annotation_source.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/annotation/annotation_source.cpp b/src/mbgl/annotation/annotation_source.cpp index 61fc4ca2e4..cc82b34de7 100644 --- a/src/mbgl/annotation/annotation_source.cpp +++ b/src/mbgl/annotation/annotation_source.cpp @@ -15,7 +15,8 @@ AnnotationSource::Impl::Impl(Source& base_) } Range<uint8_t> AnnotationSource::Impl::getZoomRange() { - return { 0, 22 }; + // Same as default geojson-vt-cpp. + return { 0, 18 }; } void AnnotationSource::Impl::load(FileSource&) { |