Skip to content

Commit

Permalink
Bring placement zoom bounds checking into sync with StyleLayer#isHidden.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLoer committed Jan 10, 2018
1 parent 1d5408d commit a2c22d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style/pauseable_placement.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class PauseablePlacement {
const placementZoom = this.placement.collisionIndex.transform.zoom;
if (layer.type === 'symbol' &&
(!layer.minzoom || layer.minzoom <= placementZoom) &&
(!layer.maxzoom || layer.maxzoom >= placementZoom)) {
(!layer.maxzoom || layer.maxzoom > placementZoom)) {

if (!this._inProgressLayer) {
this._inProgressLayer = new LayerPlacement();
Expand Down

0 comments on commit a2c22d6

Please sign in to comment.