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

vue3-openlayers

Package Overview
Dependencies
Maintainers
1
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-openlayers - npm Package Versions

1245
18

10.0.3

Diff
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
d-koppenhagen
published 8.0.0 •

Changelog

Source

8.0.0 (2024-04-18)

Code Refactoring

Features

  • support PascalCase component usage for global plugin installations (861f3ea)

BREAKING CHANGES

  • Several components have been renamed. Adjustments are only necessary when not consuming these components as a plugin but directly. When using a plugin for global component availability, nothing has been changed. This change was necessary to align the names of directly importable and usable components with the global names provided by the plugins.
  • <Animations.OLAnimationDrop> was renamed to <Animations.OlAnimationDrop>
  • <Interaction.OlClusterSelectInteraction> was renamed to <Interaction.OlInteractionClusterselect>
  • <Interaction.OlDragBoxInteraction> was renamed to <Interaction.OlInteractionDragbox>
  • <Interaction.OlDragRotateInteraction> was renamed to <Interaction.OlInteractionDragrotate>
  • <Interaction.OlDragRotateZoomInteraction> was renamed to <Interaction.OlInteractionDragrotatezoom>
  • <Interaction.OlLinktInteraction> was renamed to <Interaction.OlInteractionLink>
  • <Interaction.OlSelectInteraction> was renamed to <Interaction.OlInteractionSelect>
  • <Interaction.OlDrawInteraction> was renamed to <Interaction.OlInteractionDraw>
  • <Interaction.OlModifyInteraction> was renamed to <Interaction.OlInteractionModify>
  • <Interaction.OlSnapInteraction> was renamed to <Interaction.OlInteractionSnap>
  • <Interaction.OlTransformInteraction> was renamed to <Interaction.OlInteractionTransform>
  • <Layers.OlAnimatedClusterLayer> was renamed to <Layers.OlAnimatedClusterlayer>
  • <Map.OlGeoLocation> was renamed to <Map.OlGeolocation>
  • <MapControls.OlFullScreenControl> was renamed to <MapControls.OlFullscreenControl>
  • <MapControls.OlMousePositionControl> was renamed to <MapControls.OlMousepositionControl>
  • <MapControls.OlOverviewMapControl> was renamed to <MapControls.OlOverviewmapControl>
  • <MapControls.OlScaleLineControl> was renamed to <MapControls.OlScalelineControl>
  • <MapControls.OlZoomSliderControl> was renamed to <MapControls.OlZoomsliderControl>
  • <MapControls.OlZoomToExtentControl> was renamed to <MapControls.OlZoomtoextentControl>
  • <MapControls.OlPrintDialogControl> was renamed to <MapControls.OlPrintdialogControl>
  • <MapControls.OlVideoRecorderControl> was renamed to <MapControls.OlVideorecorderControl>
  • <MapControls.OlLayerSwitcherControl> was renamed to <MapControls.OlLayerswitcherControl>
  • <MapControls.OlLayerSwitcherImageControl> was renamed to <MapControls.OlLayerswitcherimageControl>
  • <Sources.OlSourceBingMaps> was renamed to <Sources.OlSourceBingmaps>
  • <Sources.OlSourceImageWMS> was renamed to <Sources.OlSourceImageWms>
  • <Sources.OlSourceOSM> was renamed to <Sources.OlSourceOsm>
  • <Sources.OlSourceTileArcGISRest> was renamed to <Sources.OlSourceTileArcgisRest>
  • <Sources.OlSourceGeoTIFF> was renamed to <Sources.OlSourceGeoTiff>
  • <Sources.OlSourceTileJSON> was renamed to <Sources.OlSourceTileJson>
  • <Sources.OlSourceTileWMS> was renamed to <Sources.OlSourceTileWms>
  • <Sources.OlSourceXYZ> was renamed to <Sources.OlSourceXyz>
  • <Sources.OlSourceWMTS> was renamed to <Sources.OlSourceWmts>