Skip to content

Commit

Permalink
Merge 777af26 into 8e18f01
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Nov 9, 2022
2 parents 8e18f01 + 777af26 commit 926ebc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/composite-layers/src/core/core-layer.ts
Expand Up @@ -274,7 +274,7 @@ export abstract class CoreLayer<O extends CoreLayerOptions> extends EventEmitter
}

if (!isUndefined(options.maxZoom) && !isEqual(this.lastOptions.maxZoom, this.options.maxZoom)) {
this.setMinZoom(options.maxZoom);
this.setMaxZoom(options.maxZoom);
}

if (!isUndefined(options.visible) && !isEqual(this.lastOptions.visible, this.options.visible)) {
Expand Down

0 comments on commit 926ebc7

Please sign in to comment.