[core] don't prefetch AnnotationTiles

This commit is contained in:
Molly Lloyd
2018-09-26 19:47:01 -07:00
committed by Molly Lloyd
parent cec3eaa198
commit 3b9c404233

View File

@@ -110,7 +110,7 @@ void TilePyramid::update(const std::vector<Immutable<style::Layer::Impl>>& layer
}
// Only attempt prefetching in continuous mode.
if (parameters.mode == MapMode::Continuous && type != style::SourceType::GeoJSON) {
if (parameters.mode == MapMode::Continuous && type != style::SourceType::GeoJSON && type != style::SourceType::Annotations) {
// Request lower zoom level tiles (if configured to do so) in an attempt
// to show something on the screen faster at the cost of a little of bandwidth.
if (parameters.prefetchZoomDelta) {