Skip to content

Commit

Permalink
Fix abrupt zoom stop changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Asheem Mamoowala committed Jul 26, 2017
1 parent ff8fa56 commit 612d60f
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 @@ -106,7 +106,7 @@ class WorkerTile {
const bucket = buckets[layer.id] = layer.createBucket({
index: featureIndex.bucketLayerIDs.length,
layers: family,
zoom: this.zoom,
zoom: Math.floor(this.zoom),
overscaling: this.overscaling,
collisionBoxArray: this.collisionBoxArray
});
Expand Down

0 comments on commit 612d60f

Please sign in to comment.