diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-07-02 15:56:02 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-07-02 15:56:02 -0700 |
commit | 108792420c1907f4ecf1d7b03f28e4a5ac33b27f (patch) | |
tree | 5a52fe95579b9b6fd5c4abe15f0bb06ac293cefa /src/mbgl/map/vector_tile_data.cpp | |
parent | 4870bccabaf952ae076850e550ca232526695510 (diff) | |
download | qtlocation-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.cpp | 3 |
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, |