Releases: MelihAltintas/vue3-openlayers
Releases · MelihAltintas/vue3-openlayers
Release 1.0.0-next.9
- 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
- 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
Release 1.0.0-next.7
- 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
Release 1.0.0-next.5
Release 1.0.0-next.4
- style: remove event log (fa6f8e2)
Release 1.0.0-next.3
- 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
Release 1.0.0-next.1
- 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
withol-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)