fix layer minZoom being ignored if not less than source maxZoom
This condition led to layers with high minzoom like oneway street arrows (z15) get parsed and placed regardless of minzoom (e.g. z11+), wasting a lot of worker CPU time. It became unnecessary after we added reparsing tiles when overscaling, and even before that it should have probably been <= rather than <.
This commit is contained in:
@@ -22,7 +22,6 @@ VectorTileData::VectorTileData(const TileID& id_,
|
||||
worker(style_.workers),
|
||||
tileWorker(id_,
|
||||
source_.source_id,
|
||||
source_.max_zoom,
|
||||
style_,
|
||||
style_.layers,
|
||||
state,
|
||||
|
||||
Reference in New Issue
Block a user