Skip to content

Releases: MelihAltintas/vue3-openlayers

Release 1.0.0-next.9

11 Jul 06:38
Compare
Choose a tag to compare
Release 1.0.0-next.9 Pre-release
Pre-release
  • docs: add compability notes (57b3f09)
  • refactor(ol-context-menu-control): make ol-contextmenu dependency optional (9994329)
  • fix: Interactions.click not working (da52f53)

Potential BREAKING CHANGES

Please be sure to install the following peerDependencies in your project:

"ol": "^7.4.0",
"ol-contextmenu": "^5.2.1",
"ol-ext": "^4.0.8" // optional

Release 1.0.0-next.10

11 Jul 12:41
Compare
Choose a tag to compare
Release 1.0.0-next.10 Pre-release
Pre-release
  • chore: rollback eslint-plugin-prettier update (e97b1cf)
  • chore: update (dev-)dependencies (4d4952f)
  • docs: update requirements (3490009)
  • fix(ol-feature): do not create a new Feature on props.properties change (98900c7)
  • Revert "refactor(ol-context-menu-control): make ol-contextmenu dependency optional" (3f7f313)

Release 1.0.0-next.8

06 Jul 21:08
Compare
Choose a tag to compare
Release 1.0.0-next.8 Pre-release
Pre-release
  • docs(ol-animation-path): add missing documentation page (7faf76b)
  • docs(ol-style-flowline): add missing documentation page (b4e1b31)
  • feat(ol-style): define and export OverrideStyleFunction which now also includes the resolution as third parameter (c69f4e8)

Release 1.0.0-next.7

05 Jul 20:13
Compare
Choose a tag to compare
Release 1.0.0-next.7 Pre-release
Pre-release
  • feat(ol-geolocation): pass-through original events (44249b5)

BREAKING CHANGES

ol-geolocation: pass-through original events from Openlayers directly and remove legacy events
The following events are not emitted anymore and replaced with the events from Openlayers.
All new events receive a generic ObjectEvent.
This means, changing only the event name in your templates isn't enough, you must adopt the implementations of the handler functions, so the will receive an ObjectEvent as first parameter.

  • positionChanged -> change:position
  • speedChanged -> change:speed
  • headingChanged -> change:heading
  • altitudeChanged -> change:altitude
  • altitudeAccuracyChanged -> change:altitudeAccuracy
  • accuracyGeometryChanged -> change:accuracyGeometry

Please refer to the official Openlayers docs for Geolocation for details of the emitted event data format.

Example

<template>
<!-- ... -->
-   <ol-geolocation :projection="projection" @positionChanged="geoLocChange">
+   <ol-geolocation :projection="projection" @change:position="geoLocChange">
<!-- ... -->
</template>

<script setup lang="ts">
+ import type { ObjectEvent } from "ol/Object";
// ...
- function geoLocChange(loc: number[]) {
-   view.value?.setCenter(loc);
- }
+ function geoLocChange(loc: ObjectEvent) {
+   view.value?.setCenter(event.target?.getPosition()); 
+ };
</script>

Release 1.0.0-next.6

04 Jul 10:52
Compare
Choose a tag to compare
Release 1.0.0-next.6 Pre-release
Pre-release
  • feat(ol-interaction-*): expose interactions to be able to call their ref's (c1f2f9b)
  • refactor(ol-zone-control): pass through original Options and updated docs (1ebf4b0)
  • refactor(styles): make selectors more specific and prevent usage of !important (e06b795)

Release 1.0.0-next.5

02 Jul 21:10
Compare
Choose a tag to compare
Release 1.0.0-next.5 Pre-release
Pre-release
  • refactor: handle generic event pass-through without warnings (2a44017)
  • refactor(ol-interaction-clusterselect): pass through original Options and updated docs (d98803d)

Release 1.0.0-next.4

28 Jun 09:46
Compare
Choose a tag to compare
Release 1.0.0-next.4 Pre-release
Pre-release
  • style: remove event log (fa6f8e2)

Release 1.0.0-next.3

26 Jun 19:40
Compare
Choose a tag to compare
Release 1.0.0-next.3 Pre-release
Pre-release
  • refactor: fix @ts-ignore's (7b426ae)
  • refactor(ol-source-tianditu): pass-through all props and events from ol/source/WMTS (f50461c)
  • refactor(ol-source-xyz): pass-through all props and events from ol/source/XYZ (b60b5bc)
  • refactor(ol-source-wmts): pass-through all props and events from ol/source/WMTS (415e40b)
  • refactor(ol-source-webglpoints): pass-through all props and events from ol/source/Vector (f68fe9c)
  • refactor(ol-source-vector): pass-through all props and events from ol/source/Vector (e6dca45)
  • refactor: move FEATURE_EVENTS into constant (12e4fba)
  • fix: add missing image events (98bec45)
  • refactor(ol-source-tile-wms): pass-through all props and events from ol/source/TileWMS (29086b4)
  • refactor(ol-source-tile-arcgis-rest): pass-through all props and events from ol/source/TileArcGISRest (f83b847)
  • docs: make custom styles scoped (bd56541)
  • docs: enable search feature (15d15ef)
  • docs: fix links to source code files (d774c65)
  • docs: update to latest vitepress version (dbe79c8)
  • docs: add logo (1582a2f)
  • refactor(ol-source-osm): pass-through all props and events from ol/source/OSM (95b7cbf)
  • docs: include source code snippets directly from files (05511b6)

Release 1.0.0-next.2

23 Jun 07:57
Compare
Choose a tag to compare
Release 1.0.0-next.2 Pre-release
Pre-release
  • feat(ol-layer-group): add component to group layers (ad7199e)
  • feat(ol-source-tile-json): add tileJSON source (65d19ee)

Release 1.0.0-next.1

22 Jun 19:38
Compare
Choose a tag to compare
Release 1.0.0-next.1 Pre-release
Pre-release
  • feat(ol-source-stamen): add stamen source component (50cc263)
  • fix(ol-interaction-modify): don't re-compute modify interaction (4d7c408)
  • fix(ol-interaction-draw): use provide in setup function (37cd6c5)
  • fix(ol-interaction-draw): don't re-compute draw interaction (dce1667)
  • docs(ol-source-webglpoints): add docs for using ol-source-webglpoints with ol-feature (7a26ccf)
  • fix(ol-interaction-draw): remove old draw-interaction, not new one (#204) (4ef55f7)
  • docs: describe style import for old versions (10ae2f0)
  • refactor(ol-source-image-wms): pass-through all props and events from ol/source/ImageWMS (76f410d)
  • refactor(ol-source-image-static): pass-through all props and events from ol/source/ImageStatic (3621c25)
  • refactor(ol-source-cluster): pass-through all props and events from ol/source/BingMaps (2ed205f)
  • refactor(ol-source-bingmaps): pass-thrugh all props and events from ol/source/BingMaps (d28e463)
  • feat: provide eventGateway to pass-through OpenLayers events and emit them on a component (0ad2a05)
  • feat(ol-animation-*): expose animation (ab6794d)
  • refactor(types): use type ProjectionLike (9e0f25c)
  • docs(ol-source-image-wms): describe params property (9a01dff)
  • docs(ol-layerswitcher*-control): describe how to use layerswitcher and layerswitcherimage controls (d126d42)