Skip to content

Commit

Permalink
Allow worker_tile to parse the tile for a fractional zoom level even …
Browse files Browse the repository at this point in the history
…if it is hidden at the current zoom.
  • Loading branch information
Asheem Mamoowala committed Jul 25, 2017
1 parent 7bbf489 commit 115fe07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/worker_tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 115fe07

Please sign in to comment.