diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-10-13 16:41:23 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-10-19 09:22:03 -0700 |
commit | 60d635613df2d63f59314901c80a63f805af7391 (patch) | |
tree | 64ae63860e5bc486febac3a8c5c5d6a268216dc4 /src | |
parent | 8877fb527766194e83fc5642674fb71e68df2ec8 (diff) | |
download | qtlocation-mapboxgl-60d635613df2d63f59314901c80a63f805af7391.tar.gz |
[core] limit annotation tile source to z16upstream/android-v5.1.4
Diffstat (limited to 'src')
-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); }); |