summaryrefslogtreecommitdiff
path: root/src/mbgl/map/live_tile_data.cpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-05-28 11:01:57 -0400
committerAnsis Brammanis <brammanis@gmail.com>2015-05-28 19:17:07 -0400
commit8962442b1b838445efaf8dc12003225facac2a06 (patch)
treeba54beb4fff49eede21afbb9aaf75bc08bd030ba /src/mbgl/map/live_tile_data.cpp
parent0bd39ae44ab58cbeaab1718cfa3e69b12a4bede9 (diff)
downloadqtlocation-mapboxgl-8962442b1b838445efaf8dc12003225facac2a06.tar.gz
make collision debug boxes toggleable
Diffstat (limited to 'src/mbgl/map/live_tile_data.cpp')
-rw-r--r--src/mbgl/map/live_tile_data.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/map/live_tile_data.cpp b/src/mbgl/map/live_tile_data.cpp
index 54b3948906..d63ea43470 100644
--- a/src/mbgl/map/live_tile_data.cpp
+++ b/src/mbgl/map/live_tile_data.cpp
@@ -17,9 +17,10 @@ LiveTileData::LiveTileData(const TileID& id_,
SpriteAtlas& spriteAtlas_,
util::ptr<Sprite> sprite_,
const SourceInfo& source_,
- float angle_)
+ float angle_,
+ bool collisionDebug_)
: VectorTileData::VectorTileData(id_, mapMaxZoom, style_, glyphAtlas_, glyphStore_,
- spriteAtlas_, sprite_, source_, angle_),
+ spriteAtlas_, sprite_, source_, angle_, collisionDebug_),
annotationManager(annotationManager_) {
// live features are always ready
setState(State::loaded);