v3.0.0
版本发布时间: 2023-10-26 21:56:36
MelihAltintas/vue3-openlayers最新发布版本:v3.1.0(2023-11-08 13:32:18)
3.0.0 (2023-10-26)
Bug Fixes
- 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)
Code Refactoring
- ol-overviewmap-control: adopt OpenLayers API and fix layers rendering (fd82d1a)
- ol-webgl-tile-layer: adopt OpenLayers API and fix layers rendering (4d44b21)
Features
-
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
BREAKING CHANGES
- 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 API -
ol-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 directly -
ol-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
1、 vue3-openlayers-3.0.0.tgz 1014.57KB