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
440bc02505
This commit is contained in:
@@ -33,7 +33,6 @@ class VectorTileData : public TileData {
|
||||
|
||||
public:
|
||||
VectorTileData(const TileID&,
|
||||
float mapMaxZoom,
|
||||
Style&,
|
||||
GlyphAtlas&,
|
||||
GlyphStore&,
|
||||
@@ -41,6 +40,7 @@ public:
|
||||
util::ptr<Sprite>,
|
||||
const SourceInfo&,
|
||||
float,
|
||||
float,
|
||||
bool);
|
||||
~VectorTileData();
|
||||
|
||||
@@ -57,8 +57,6 @@ public:
|
||||
return collision.get();
|
||||
}
|
||||
|
||||
const float depth;
|
||||
|
||||
protected:
|
||||
void redoPlacement();
|
||||
|
||||
@@ -85,6 +83,7 @@ private:
|
||||
std::unordered_map<std::string, std::unique_ptr<Bucket>> buckets;
|
||||
mutable std::mutex bucketsMutex;
|
||||
|
||||
const float overscaling;
|
||||
std::unique_ptr<CollisionTile> collision;
|
||||
|
||||
float lastAngle = 0;
|
||||
|
||||
Reference in New Issue
Block a user