From 115fe07c57aaa2c6d6031252f83f7f8d664fa132 Mon Sep 17 00:00:00 2001 From: Asheem Mamoowala Date: Tue, 25 Jul 2017 13:01:21 -0700 Subject: [PATCH] Allow worker_tile to parse the tile for a fractional zoom level even if it is hidden at the current zoom. --- src/source/worker_tile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source/worker_tile.js b/src/source/worker_tile.js index c0e3ba8c3ce..308ff91e8bb 100644 --- a/src/source/worker_tile.js +++ b/src/source/worker_tile.js @@ -94,7 +94,7 @@ class WorkerTile { assert(layer.source === this.source); - if (layer.minzoom && this.zoom < layer.minzoom) continue; + if (layer.minzoom && Math.ceil(this.zoom) < layer.minzoom) continue; if (layer.maxzoom && this.zoom >= layer.maxzoom) continue; if (layer.layout && layer.layout.visibility === 'none') continue;