summaryrefslogtreecommitdiff
path: root/src/mbgl/map/live_tile_data.cpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-05-28 16:44:28 -0400
committerAnsis Brammanis <brammanis@gmail.com>2015-05-28 19:17:07 -0400
commit1e044a175cbb714182709b9929fe4a74bfa42322 (patch)
tree18f488db5b3909fbd35d458d73c273c2b4ff0772 /src/mbgl/map/live_tile_data.cpp
parent8962442b1b838445efaf8dc12003225facac2a06 (diff)
downloadqtlocation-mapboxgl-1e044a175cbb714182709b9929fe4a74bfa42322.tar.gz
Reparse tiles when zoom level > source maxzoom
so that layout property functions are applied correctly and so that label placement is redone js: https://github.com/mapbox/mapbox-gl-js/pull/1005 and https://github.com/mapbox/mapbox-gl-js/commit/440bc02505eb66f198a3d98708ddc3d9453f453f
Diffstat (limited to 'src/mbgl/map/live_tile_data.cpp')
-rw-r--r--src/mbgl/map/live_tile_data.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/map/live_tile_data.cpp b/src/mbgl/map/live_tile_data.cpp
index d63ea43470..f2b5e0427d 100644
--- a/src/mbgl/map/live_tile_data.cpp
+++ b/src/mbgl/map/live_tile_data.cpp
@@ -10,17 +10,17 @@ using namespace mbgl;
LiveTileData::LiveTileData(const TileID& id_,
AnnotationManager& annotationManager_,
- float mapMaxZoom,
Style& style_,
GlyphAtlas& glyphAtlas_,
GlyphStore& glyphStore_,
SpriteAtlas& spriteAtlas_,
util::ptr<Sprite> sprite_,
const SourceInfo& source_,
+ float overscaling_,
float angle_,
bool collisionDebug_)
- : VectorTileData::VectorTileData(id_, mapMaxZoom, style_, glyphAtlas_, glyphStore_,
- spriteAtlas_, sprite_, source_, angle_, collisionDebug_),
+ : VectorTileData::VectorTileData(id_, style_, glyphAtlas_, glyphStore_,
+ spriteAtlas_, sprite_, source_, overscaling_, angle_, collisionDebug_),
annotationManager(annotationManager_) {
// live features are always ready
setState(State::loaded);