diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-10-31 13:10:01 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-11-01 18:06:36 +0200 |
commit | 688540a44d7977208b606b02376edc7d87854db8 (patch) | |
tree | 51a4335ccbd182263e8d7b5793703cf69ce74d1e /src/mbgl/annotation/render_annotation_source.cpp | |
parent | 90a7cf87a32f6787e57e3852ac9d3015d8112621 (diff) | |
download | qtlocation-mapboxgl-688540a44d7977208b606b02376edc7d87854db8.tar.gz |
Bump Mapbox GL Native
mapbox-gl-native @ 0ef7b7154f6d4498077a83db5c486c61bc34938c
Diffstat (limited to 'src/mbgl/annotation/render_annotation_source.cpp')
-rw-r--r-- | src/mbgl/annotation/render_annotation_source.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mbgl/annotation/render_annotation_source.cpp b/src/mbgl/annotation/render_annotation_source.cpp index 34fb576727..ba80be0da0 100644 --- a/src/mbgl/annotation/render_annotation_source.cpp +++ b/src/mbgl/annotation/render_annotation_source.cpp @@ -38,7 +38,9 @@ void RenderAnnotationSource::update(Immutable<style::Source::Impl> baseImpl_, parameters, SourceType::Annotations, util::tileSize, - { 0, util::DEFAULT_MAX_ZOOM }, + // Zoom level 16 is typically sufficient for annotations. + // See https://github.com/mapbox/mapbox-gl-native/issues/10197 + { 0, 16 }, [&] (const OverscaledTileID& tileID) { return std::make_unique<AnnotationTile>(tileID, parameters); }); |