You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a consequence of the performance optimizations, now tb.update is only called once from the render method of the default layer created with the option multiLayer: true, so Mapbox when detects zoom changes and deactivates the render of the layer, the objects of the layer still visible.
We need to control the zoom changes as it’s made by Mapbox but call to tb.toggleLayer instead.
This could be made at tb.setLayoutZoomRange as it’s there where the zoom of a layer is being defined
The text was updated successfully, but these errors were encountered:
Minor version by [@jscastro76](https://github.com/jscastro76), some enhancements and bugs.
#### ✨ Enhancements
- #5 (#5) Add a multi layer sample. [16-multilayer.html](https://github.com/jscastro76/threebox/blob/master/examples/16-multilayer.html)
- #95 (#95) `tb.add` should admit layer and source as optional params
- #96 (#96) `tb.setLayerHeigthProperty` depends on an internal feature on `obj.userData.feature`
- #98 (#98) Add an init param for multiLayer scenarios, that allows to create a default empty layer in threebox
- #99 (#99) `setLayoutZoomRange` doesn’t work on multilayer scenarios
- #101 (#101) `options.adjustment` must be on top of `options.anchor` not instead
#### 🪲 Bug fixes
- #94 (#94) tb.setLayoutPropery is not working when geojson features are not being used.
- #97 (#97) When `enableSelectingObjects` is active and not tooltips
- #100 (#100) Object anchors are not well calculated on duplicates when downscaled
This is a consequence of the performance optimizations, now tb.update is only called once from the render method of the default layer created with the option
multiLayer: true
, so Mapbox when detects zoom changes and deactivates the render of the layer, the objects of the layer still visible.We need to control the zoom changes as it’s made by Mapbox but call to
tb.toggleLayer
instead.This could be made at
tb.setLayoutZoomRange
as it’s there where the zoom of a layer is being definedThe text was updated successfully, but these errors were encountered: