4.0.2 (2024-01-23)
- vite: styles export (8eb3559)
4.0.1 (2023-12-18)
- ol-image-layer: correctly access and provide layer (3e509db)
- ol-webgl-tile-layer: pass correct defaults (994d1b0)
4.0.0 (2023-12-17)
- update dependencies and peerDependency list (3e9b311)
-
- Drop support for Node.js Versions 16
- requires a peer dependency of
ol@^8.2.0
- requires a peer dependency of
ol-ext@^4.0.13
- ol-style-icon:
ol-style-icon
: the propertyscale
has no longer a default of1
. Please pass a value of one explicitly if needed. The change was needed since the underlying OpenLayers lib want's to either have ascale
defined orwidth
/height
. Before it wasn't possible to define an icon bywidth
/height
since thescale
was set by default. - OlSourceTianditu: - renamed
OlSourceTianDiTu
toOlSourceTianditu
3.2.1 (2023-12-17)
3.2.0 (2023-12-03)
3.1.0 (2023-11-08)
3.0.0 (2023-10-26)
- add provided for external module for GeoTIFF and OverviewMap (ac39fb2)
- ol-view: re-enable rotation (57c9a95)
- demo: use scoped styles and cleanup unused styles (3d7fba4)
- ol-overviewmap-control: adopt OpenLayers API and fix layers rendering (fd82d1a)
- ol-webgl-tile-layer: adopt OpenLayers API and fix layers rendering (4d44b21)
- ol-vector-tile-layers: add support for
renderMode
property (116b576), closes #263 - ol-source-geo-tiff: add new source for GeoTIFF (78dc2c6)
- ol-animated-clusterlayer: emit all Cluster events (0867d4b)
- ol-videorecorder-control: pass-through all props and events from
ol-ext
(fb99807) - ol-map: feat(ol-map) support all Map events from OpenLayers on component. Newly supported events are:
change:size
change:target
change:view
rendercomplete
Please refer to the OpenLayers docs
- ol-videorecorder-control: pass-through all props and events from
ol-ext
- if not
downloadName
is set, the file will not be downloaded but thestop
event is fired with the blob data/url. - all events are now fired. In addition to the already existing
start
andstop
event, you can now also react to thepause
andresume
event - docs has been updated
- if not
- ol-webgl-tile-layer: use props and default values from openlayers directly
- ol-overviewmap-control: use props and default values from openlayers directly. render component from slot in overview map
ol-overlay
all properties are now passed-trough from OpenLayers directly. Their types and default values can be checked-out in the official OpenLayers docs. Potentially this hasn't changed anything yet, but it can in the future, if OpenLayers changes it's APIol-overlay
all events are now fired at component level as defined in OpenLayers. Details:elementChanged
is now emitted aschange:element
offsetChanged
is now emitted aschange:offset
positionChanged
is now emitted aschange:position
positioningChanged
is now emitted aschange:positioning
ol-view
: propertycenter
's default value has been removed (it was set[0, 0]
) before. Now all default values from OpenLayers are used directlyol-view
: All Events from OpenLayers are emitted as component events directly now. Please change:resolutionChanged
tochange:resolution
rotationChanged
tochange:rotation
rotationChanged
tochange:rotation
centerChanged
tochange:center
zoomChanged
event has been dropped. Please usechange:center
orchange:resolution
instead
ol-map
: properties with default values are now aligned with all default values from OpenLayers
3.0.0-3 (2023-09-24)
- ol-overviewmap-control: adopt OpenLayers API and fix layers rendering (fd82d1a)
- ol-webgl-tile-layer: adopt OpenLayers API and fix layers rendering (4d44b21)
- ol-source-geo-tiff: add new source for GeoTIFF (78dc2c6)
- ol-webgl-tile-layer: use props and default values from openlayers directly
- ol-overviewmap-control: use props and default values from openlayers directly. render component from slot in overview map
3.0.0-2 (2023-09-22)
- ol-view: re-enable rotation (57c9a95)
3.0.0-1 (2023-09-20)
- ol-animated-clusterlayer: emit all Cluster events (0867d4b)
3.0.0-0 (2023-09-20)
- demo: use scoped styles and cleanup unused styles (3d7fba4)
- ol-videorecorder-control: pass-through all props and events from
ol-ext
(fb99807) - ol-map: feat(ol-map) support all Map events from OpenLayers on component. Newly supported events are:
change:size
change:target
change:view
rendercomplete
Please refer to the OpenLayers docs
- ol-videorecorder-control: pass-through all props and events from
ol-ext
- if not
downloadName
is set, the file will not be downloaded but thestop
event is fired with the blob data/url. - all events are now fired. In addition to the already existing
start
andstop
event, you can now also react to thepause
andresume
event - docs has been updated
- if not
ol-overlay
all properties are now passed-trough from OpenLayers directly. Their types and default values can be checked-out in the official OpenLayers docs. Potentially this hasn't changed anything yet, but it can in the future, if OpenLayers changes it's APIol-overlay
all events are now fired at component level as defined in OpenLayers. Details:elementChanged
is now emitted aschange:element
offsetChanged
is now emitted aschange:offset
positionChanged
is now emitted aschange:position
positioningChanged
is now emitted aschange:positioning
ol-view
: propertycenter
's default value has been removed (it was set[0, 0]
) before. Now all default values from OpenLayers are used directlyol-view
: All Events from OpenLayers are emitted as component events directly now. Please change:resolutionChanged
tochange:resolution
rotationChanged
tochange:rotation
rotationChanged
tochange:rotation
centerChanged
tochange:center
zoomChanged
event has been dropped. Please usechange:center
orchange:resolution
instead
ol-map
: properties with default values are now aligned with all default values from OpenLayers
2.0.0 (2023-09-14)
- allow multiple plugin installation (#247) (9a3b133)
- allow using controls as childs of bar (#248) (8d59c76)
- correctly remove controls onUnmounted (3756fbb), closes #246
- update dependency to openlayers 8.0.0 (a76dd57)
- ol-source-stadia-maps: replace old ol-stamen component (ff9e373)
- ol-style-icon: pass-through properties from OpenLayers (84232e9)
- ol-webgl-points-layer: use new flat style format (02b8d1f)
- ol-webgl-points-layer: use the new introduced flat format from OpenLayers 8
- ol-style-icon: properties are passed-through from OpenLayers directly and property
imgSize
has been removed since it's removed from OpenLayers 8 - ol-source-stadia-maps: The new component
ol-source-stadia-maps
replaced the oldol-source-stamen
component. Please checkout the official OpenLayers 8 release notes for further information. - You need to have a peerDependency of
ol
>=8.0.0
installed
1.3.0 (2023-09-14)
- allow multiple plugin installation (#247) (edbbdc3)
- allow using controls as childs of bar (#248) (9bc69cd)
2.0.0-1 (2023-09-08)
2.0.0-0 (2023-09-04)
- update dependency to openlayers 8.0.0 (a76dd57)
- ol-source-stadia-maps: replace old ol-stamen component (ff9e373)
- ol-style-icon: pass-through properties from OpenLayers (84232e9)
- ol-webgl-points-layer: use new flat style format (02b8d1f)
- ol-webgl-points-layer: use the new introduced flat format from OpenLayers 8
- ol-style-icon: properties are passed-through from OpenLayers directly and property
imgSize
has been removed since it's removed from OpenLayers 8 - ol-source-stadia-maps: The new component
ol-source-stadia-maps
replaced the oldol-source-stamen
component. Please checkout the official OpenLayers 8 release notes for further information. - You need to have a peerDependency of
ol
>=8.0.0
installed
1.2.1 (2023-09-01)
- remove exported non-existing function forEachLayerAtPixel (27da611)
- remove incompatible props and exposed functions (81c6d00), closes #231
1.2.0 (2023-07-26)
1.1.0 (2023-07-25)
- chore(maintenance): update dependencies (258e396)
- docs(ol-map): add documentation for prop (b54312c)
- fix(ol-feature): prevent unresponsive map lag (989bc90)
- fix(ol-zone-control): define props with default values as optional (8275202)
- docs(ol-interaction-snap): add demo case for draw interaction (e588a5f)
- Update animatedclusterlayer, improve wording and fluency of explanation (#226) (3191963)
- docs(ol-geolocation): display icon position correctly (6ae205b)
- feat(ol-style-text): added backgroundFill and backgroundStroke props (#223) (6f521c9)
1.0.1 (2023-07-18)
- chore: disable eslint for process access in version script (78455b0)
- docs: add note for output.globals (c4c6d0f)
- fix(build): update vite-plugin-dts and configure output.globals (#218) (fe739c4)
- refactor(ol-view): use ViewOptions interface and remove unneeded composable (5d139eb)
- refactor: remove unused useLayerControl (3ea0a99)
- fix(ol-geolocation): prevent Extraneous non-emits event listeners warning (11c14f1)
- docs: describe how to access ol/Map (5ab6231)
- docs: updated contribution guidelines (0c38dc3)
- docs: update getting started (65fed43)
- chore: update ISSUE_TEMPLATE (a0cf678)
- docs: update requirements automatically (cdbd12f)
- docs: replace 'Openlayers' with 'OpenLayers' (bd59efc)
1.0.0 (2023-07-11)
Version 1.0.0
was completely refactored and aligned with the features and also BREAKING CHANGES from OpenLayers 7.x.x.
Please be sure to checkout the Changelog of OpenLayers as well.
Properties are mostly reflected 1:1 from OpenLayers as Component Properties for the related vue3-openlayers
components. The same applies for the default values. Deviating properties with their values and description are listed in the documentation for each component.
Summary (compared to version 0.5.1
)
- 🛠️ migrated all components and features to TypeScript
- 👩🏻🔧 migrated all components to use
<script setup>
syntax - 🗺️ aligned API with OpenLayers 7.4.0
- 📘 updated & restructured the whole documentation
- 🧩 added new components:
ol-layer-group
,ol-source-tile-json
,ol-source-stadia-maps
andol-vector-image-layer
- 🚀 expose all interactions to be able to call access them via
ref
in templates - 🐞 lot's of bug fixes
- 📖 improved the documentation
- ✨ better types for improved developer experience
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"
general: dropped support for Openlayers 6 and below. Please use Openlayers 7.x.x
general: lot's of property types have been updated to match with the types in Openlayers. This may lead to TypeScript issues that must be fixed. Please have a look at all Changelog notes from the alpha and next releases before.
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.
Special thanks goes to:
- @MelihAltintas for creating this awesome project, making it open source and enable other maintainers (like @d-koppenhagen) to improve it
- @mathiash98 for digging deep into the code and fixing tricky issues like #128 and #175
- @209, for the time invested and the laborious migration of the code base (PR MelihAltintas#149 was the basis for all the related commits)
- @lukas-zaugg and @pjreed for other important bug fixes and new features
- all other people who were not mentioned here but who also contributed to version 1.0.0 with their questions and issues 🙌🏼