style borough labels across all zoom levels

This commit is contained in:
Mateusz Konieczny 2022-12-18 17:10:30 +01:00
parent fbc4b7d858
commit 23dad86f7f

View File

@ -63,7 +63,7 @@ function cacheOrCreateBuildingTile(tileParams: TileParams, dataParams: any): Pro
} }
function stitchOrRenderBuildingTile(tileParams: TileParams, dataParams: any): Promise<Tile> { function stitchOrRenderBuildingTile(tileParams: TileParams, dataParams: any): Promise<Tile> {
if (tileParams.z <= STITCH_THRESHOLD) { if (tileParams.z <= STITCH_THRESHOLD && tileParams.tileset != "base_boroughs") {
// stitch tile, using cache recursively // stitch tile, using cache recursively
return stitchTile(tileParams, dataParams, cacheOrCreateBuildingTile); return stitchTile(tileParams, dataParams, cacheOrCreateBuildingTile);
} else { } else {