🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

vue3-openlayers

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-openlayers - npm Package Versions

d-koppenhagen
published 10.0.4 •

Changelog

Source

10.0.4 (2024-08-01)

Bug Fixes

  • ol-source-*: re-use existing source on update to bind interactions correctly (7dfd962), closes #364
d-koppenhagen
published 10.0.3 •

Changelog

Source

10.0.3 (2024-08-01)

Bug Fixes

  • ol-source-*: correctly handle events (7c4bfe0), closes #365
d-koppenhagen
published 10.0.2 •

Changelog

Source

10.0.2 (2024-07-07)

Bug Fixes

  • ol-interaction-draw: emit events on changed geometry (0363578), closes #361
  • ol-source-vector: handle correct event addfeature (777d4ab), closes #362
  • ol-source-xyz: watch for changed props (a9a1c99), closes #359
d-koppenhagen
published 10.0.1 •

Changelog

Source

10.0.1 (2024-06-10)

Bug Fixes

  • ol-source-vector: call refresh() after url changes (479d765), closes #357
  • ol-webgl-vector-layer: call make properties reactive (3e77dfe), closes #355
d-koppenhagen
published 10.0.0 •

Changelog

Source

10.0.0 (2024-05-22)

Bug Fixes

  • 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:
    -const layer = inject<ImageLayer<Static> | null>("imageLayer");
    +const layer = inject<Ref<ImageLayer<Static>> | null>("imageLayer");
    
d-koppenhagen
published 9.0.3 •

Changelog

Source

9.0.3 (2024-05-19)

Bug Fixes

  • ensure modified properties are always reactive (e221148), closes #349 #349
d-koppenhagen
published 9.0.2 •

Changelog

Source

9.0.2 (2024-05-19)

Bug Fixes

  • ol-overlay: set correct default classNames ol-overlay-container ol-selectable (e2ea186), closes #352
d-koppenhagen
published 9.0.1 •

Changelog

Source

9.0.1 (2024-05-17)

Bug Fixes

  • ol-style: apply style correctly to ol-interaction-* (5408ae3), closes #351
d-koppenhagen
published 9.0.0 •

Changelog

Source

9.0.0 (2024-05-12)

Bug Fixes

  • ol-overlay: set correct default values as described in the docs (2e9e2a6), closes #346
  • ol-source-wmts: add missing optional tileGrid prop (1237fe1)
  • ol-vector-layer: watch opacity / visible changes (e9ae6fa), closes #347

Code Refactoring

  • ol-layer-*: push layer to correct collection based on parent component injection (ee46969), closes #344 #344

BREAKING CHANGES

  • ol-layer-*: These changes may not affect you directly. Previously, for some layer types, a layer was always added to the map, even if the layer component was used within a LayerGroup. This resulted in layers existing multiple times (in the LayerGroup and at the top level (Reported in #344)). Due to the refactoring, all layers are now treated the same (with onMounted and when changing layer properties). 1.) If the layer component is within an ol-layer-group, it is added to the group. 2.) If the layer component is inside an ol-overviewmap-control, it is added to the OverviewMap 3.) If 1) and 2) do not apply, the layer component is added directly to the map
d-koppenhagen
published 8.1.0 •

Changelog

Source

8.1.0 (2024-04-27)

Bug Fixes

  • add missing types for FlatStyleLike (e930496), closes #332
  • ol-contextmenu-control: use partial options (cbc13da)
  • prevent providing ol-options multiple times (0f138d1), closes #338

Features

  • export composables (73c442f)
  • ol-interaction-pointer: add new pointer interaction (ab675b2), closes #339
  • ol-style-icon: allow to place icon content in slot (65d970a), closes #295