summaryrefslogtreecommitdiff
path: root/src/mbgl/map/vector_tile_data.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-07-02 15:56:02 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-07-02 15:56:02 -0700
commit108792420c1907f4ecf1d7b03f28e4a5ac33b27f (patch)
tree5a52fe95579b9b6fd5c4abe15f0bb06ac293cefa /src/mbgl/map/vector_tile_data.cpp
parent4870bccabaf952ae076850e550ca232526695510 (diff)
downloadqtlocation-mapboxgl-108792420c1907f4ecf1d7b03f28e4a5ac33b27f.tar.gz
Check for matching source when parsing tiles (fixes #1698)
Diffstat (limited to 'src/mbgl/map/vector_tile_data.cpp')
-rw-r--r--src/mbgl/map/vector_tile_data.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/map/vector_tile_data.cpp b/src/mbgl/map/vector_tile_data.cpp
index 04ef339c43..c87cc370e8 100644
--- a/src/mbgl/map/vector_tile_data.cpp
+++ b/src/mbgl/map/vector_tile_data.cpp
@@ -20,9 +20,10 @@ VectorTileData::VectorTileData(const TileID& id_,
: TileData(id_),
worker(style_.workers),
tileWorker(id_,
+ source_.source_id,
+ source_.max_zoom,
style_,
style_.layers,
- source_.max_zoom,
state,
std::make_unique<CollisionTile>(id_.z, 4096,
source_.tile_size * id.overscaling,