[core] Add setMaxOverscaleFactorForParentTiles

This commit is contained in:
Alexander Shalamov
2020-03-21 21:55:22 +02:00
parent 09f7bbcf7c
commit 15f73a06f2
13 changed files with 92 additions and 14 deletions

View File

@@ -40,7 +40,8 @@ void RenderAnnotationSource::update(Immutable<style::Source::Impl> baseImpl_,
{0, 16},
optional<LatLngBounds>{},
[&](const OverscaledTileID& tileID) { return std::make_unique<AnnotationTile>(tileID, parameters); },
baseImpl->getPrefetchZoomDelta());
baseImpl->getPrefetchZoomDelta(),
baseImpl->getMaxOverscaleFactorForParentTiles());
}
std::unordered_map<std::string, std::vector<Feature>>