From e1be2c45c1efdbb5d6e14e9431444292adaf3c9a Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Tue, 28 Jun 2016 09:37:07 +0300 Subject: [PATCH] [core] Set annotation max zoom to 18 --- src/mbgl/annotation/annotation_source.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mbgl/annotation/annotation_source.cpp b/src/mbgl/annotation/annotation_source.cpp index 61fc4ca2e41..cc82b34de70 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 AnnotationSource::Impl::getZoomRange() { - return { 0, 22 }; + // Same as default geojson-vt-cpp. + return { 0, 18 }; } void AnnotationSource::Impl::load(FileSource&) {