Releases: MelihAltintas/vue3-openlayers
Releases · MelihAltintas/vue3-openlayers
Release 11.1.0
Release 11.0.1
Release 11.0.0
11.0.0 (2024-08-04)
Features
- support OpenLayers@10 (c29a966)
BREAKING CHANGES
- A minimum version of OpenLayers 10 is now required.
- The
opaque
option was previously used to hint the renderer to perform some optimizations on layers known to be fully opaque.
This is no longer needed, and the option has been removed.
The option is no longer handled byOlSourceOSM
,OlSourceXYZ
andOlSourceTianditu
.
It has been removed with OpenLayers 10
see #239
Release 10.3.1
Release 10.1.0
Release 10.0.4
Release 10.0.3
Release 10.0.2
Release 10.0.1
Release 10.0.0
10.0.0 (2024-05-22)
Bug Fixes
- update falsy values "0", "false" and "null" (b39d0c6)
Code Refactoring
- composables: rename composable
useLayerInMapOrLayerGroup
intouseLayer
(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 touseLayer
- 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 providedimageLayer
references is now wrapped in aRef
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:-const layer = inject<ImageLayer<Static> | null>("imageLayer"); +const layer = inject<Ref<ImageLayer<Static>> | null>("imageLayer");