MVTLayer renderSubLayers Composite Layer issue #5827
-
Hi, I have implemented a custom Composite layer pretty similar to the See the reproducible example I can't trigger this behavior 100% of the time, but I can normally trigger it by quickly adjusting the zoom level (via mouse wheel). My current thought is that, somehow, it is displaying multiple zoom levels at the same time. Changing the Just trying to figure out if there is a bug, or am I missing something? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
TileLayer/MVTLayer toggles tile visibility by setting the - visible: this.props.labelVisible
+ visible: this.props.visible && this.props.labelVisible |
Beta Was this translation helpful? Give feedback.
TileLayer/MVTLayer toggles tile visibility by setting the
visible
prop. Your custom layer's sublayers need to inherit the parent layer's visibility, like so: