[core] limit annotation tile source to z16
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user