Revert "Fix the symbol blink issue by only placing the symbol in current level (#3534)" (#3610)

This commit is contained in:
Bart Louwers
2025-07-09 23:04:01 +02:00
committed by GitHub
parent c56fa9ff92
commit bcf636a91a
5 changed files with 12 additions and 8 deletions

View File

@@ -276,12 +276,6 @@ JointPlacement Placement::placeSymbol(const SymbolInstance& symbolInstance, cons
// a parent tile that _should_ be placed.
return kUnplaced;
}
// Place the symbol only at the current level to prevent it from blinking during the transition.
if (ctx.getOverscaledID().overscaledZ != int(placementZoom)) {
return kUnplaced;
}
const SymbolBucket& bucket = ctx.getBucket();
const mat4& posMatrix = ctx.getRenderTile().matrix;
const auto& collisionGroup = ctx.collisionGroup;