Skip to content

Release 0.2.0

Compare
Choose a tag to compare
@d-koppenhagen d-koppenhagen released this 14 Apr 13:28
· 550 commits to main since this release

Release v0.2.0

BREAKING CHANGES

refactor: make all provided styleable's a computed

closes #178

If you may have used inject("stylable") to access the style for ol-interaction-draw or ol-interaction-modify, you will now receive a computed instead of the direct value.
You can access the value by using .value.

before:

const drawStyleable = inject("stylable")

after:

const drawStyleable = inject("stylable").value

feat: rename property style to styles

closes #157

The property style that has been used for several components has been renamed to styles (plural) as it conflicted with the reserved style attribute.
The following components are affected:

  • ol-vector-layer
  • ol-webglpoints-layer
  • ol-source-wmts

chore: set minimum openlayers version to 7.3.0

minimum required OpenLayers version is now 7.3.0

feat: remove undefinedHTML option from control ol-mouse-position

The option undefinedHTML has been removed from the MousePosition control.
The control will now by default keep displaying the last mouse position when the mouse leaves the viewport. With placeholder: '&[#160](https://github.com/MelihAltintas/vue3-openlayers/issues/160);' you can keep the old behaviour. The placeholder option no longer accepts false as a valid value, instead simply omit the option. The undefinedHTML option has been removed. You should use placeholder instead.
Please refer to the OpenLayers 7.0.0 Changelog.

feat: remove forEachLayerAtPixel method from ol-map

The method forEachLayerAtPixel has been removed from the Map. Please refer to the OpenLayers 7.0.0 Changelog.

feat: remove imageSmoothing option from sources

The option imageSmoothing has been removed from all sources. Please refer to the OpenLayers 7.0.0 Changelog.

Complete Changelog

  • refactor: make all provided styleable's a computed #178
  • feat: rename property style to styles #157
  • docs: add documentation for ol-interaction-clusterselect #176
  • chore: package maintenance 934d428
  • docs(a11y): use correct headline levels 7cdb130
  • docs: restructure docs 17c9106
  • feat: remove imageSmoothing option from sources 30cb173
  • feat: provide new options for ol-interaction-clusterselect 86e1a7f
  • feat: remove forEachLayerAtPixel method from ol-map 78d94bd
  • fix(ol-interaction-clusterselect): remove unsupported prop style 065a6e8
  • feat: remove undefinedHTML option from control ol-mouse-position debd387
  • chore: update PR template 30b6621
  • docs: set minimum openlayers version to 7.3.0 7974a65
  • chore: update PR template 5020ff4
  • fix(MapControls) - added missing RotateControl export 00201c9