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
update falsy values "0", "false" and "null" (b39d0c6)
Code Refactoring
composables: rename composable useLayerInMapOrLayerGroup into useLayer (3a7835c)
ol-source-*: move common setup into useSource composable (56b386d), closes #354
Features
ol-layer-*: support common events on components (69b37c9)
BREAKING CHANGES
composables: The composable useLayerInMapOrLayerGroup was renamed to useLayer
ol-source-*: The created Source class from the corresponding OpenLayers source isn't wrapped in a computed anymore but in a shallowRef. This will improve the performance and prevent unneeded re-computations.
Also, the provided imageLayer references is now wrapped in a Ref which will make it reactive:
In case the layer changes, the source is updated and applied to the changed layers reference.
This behavior was already default for all layer types: