summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMolly Lloyd <molly@mapbox.com>2018-09-26 19:47:01 -0700
committerMolly Lloyd <molly@mapbox.com>2018-10-02 10:45:24 -0700
commit8d5b29ab573047cfd9febc8ea169a8aba4d366ae (patch)
tree707816ce795501695f7a225659c212a85500a9b8
parenta90d310369e88e62e6eeb4b5ada252363883e863 (diff)
downloadqtlocation-mapboxgl-8d5b29ab573047cfd9febc8ea169a8aba4d366ae.tar.gz
[core] don't prefetch AnnotationTiles
-rw-r--r--src/mbgl/renderer/tile_pyramid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/tile_pyramid.cpp b/src/mbgl/renderer/tile_pyramid.cpp
index 89c4aa0007..7a2e691af3 100644
--- a/src/mbgl/renderer/tile_pyramid.cpp
+++ b/src/mbgl/renderer/tile_pyramid.cpp
@@ -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) {