summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMolly Lloyd <molly@mapbox.com>2018-09-26 19:47:01 -0700
committerMolly Lloyd <mollymerp@users.noreply.github.com>2018-10-03 11:46:49 -0700
commit3b9c404233ff91bc7038fdb0e3c5d0976276caaf (patch)
treef48c8812bf3f8e3cd1746657ef497729824c0126 /src
parentcec3eaa19832e54598239a5747ba329e6607c62e (diff)
downloadqtlocation-mapboxgl-3b9c404233ff91bc7038fdb0e3c5d0976276caaf.tar.gz
[core] don't prefetch AnnotationTiles
Diffstat (limited to 'src')
-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) {