vue3-openlayers
Advanced tools
Changelog
10.0.0 (2024-05-22)
useLayerInMapOrLayerGroup
into useLayer
(3a7835c)useSource
composable (56b386d), closes #354useLayerInMapOrLayerGroup
was renamed to useLayer
imageLayer
references is now wrapped in a Ref
which will make it reactive:
In case the layer changes, the source is updated and applied to the changed layers reference.
This behavior was already default for all layer types:
-const layer = inject<ImageLayer<Static> | null>("imageLayer");
+const layer = inject<Ref<ImageLayer<Static>> | null>("imageLayer");
Changelog
9.0.0 (2024-05-12)
tileGrid
prop (1237fe1)ol-layer-group
, it is added to the group.
2.) If the layer component is inside an ol-overviewmap-control
, it is added to the OverviewMap
3.) If 1) and 2) do not apply, the layer component is added directly to the mapChangelog
8.0.0 (2024-04-18)
<Animations.OLAnimationDrop>
was renamed to <Animations.OlAnimationDrop>
<Interaction.OlClusterSelectInteraction>
was renamed to <Interaction.OlInteractionClusterselect>
<Interaction.OlDragBoxInteraction>
was renamed to <Interaction.OlInteractionDragbox>
<Interaction.OlDragRotateInteraction>
was renamed to <Interaction.OlInteractionDragrotate>
<Interaction.OlDragRotateZoomInteraction>
was renamed to <Interaction.OlInteractionDragrotatezoom>
<Interaction.OlLinktInteraction>
was renamed to <Interaction.OlInteractionLink>
<Interaction.OlSelectInteraction>
was renamed to <Interaction.OlInteractionSelect>
<Interaction.OlDrawInteraction>
was renamed to <Interaction.OlInteractionDraw>
<Interaction.OlModifyInteraction>
was renamed to <Interaction.OlInteractionModify>
<Interaction.OlSnapInteraction>
was renamed to <Interaction.OlInteractionSnap>
<Interaction.OlTransformInteraction>
was renamed to <Interaction.OlInteractionTransform>
<Layers.OlAnimatedClusterLayer>
was renamed to <Layers.OlAnimatedClusterlayer>
<Map.OlGeoLocation>
was renamed to <Map.OlGeolocation>
<MapControls.OlFullScreenControl>
was renamed to <MapControls.OlFullscreenControl>
<MapControls.OlMousePositionControl>
was renamed to <MapControls.OlMousepositionControl>
<MapControls.OlOverviewMapControl>
was renamed to <MapControls.OlOverviewmapControl>
<MapControls.OlScaleLineControl>
was renamed to <MapControls.OlScalelineControl>
<MapControls.OlZoomSliderControl>
was renamed to <MapControls.OlZoomsliderControl>
<MapControls.OlZoomToExtentControl>
was renamed to <MapControls.OlZoomtoextentControl>
<MapControls.OlPrintDialogControl>
was renamed to <MapControls.OlPrintdialogControl>
<MapControls.OlVideoRecorderControl>
was renamed to <MapControls.OlVideorecorderControl>
<MapControls.OlLayerSwitcherControl>
was renamed to <MapControls.OlLayerswitcherControl>
<MapControls.OlLayerSwitcherImageControl>
was renamed to <MapControls.OlLayerswitcherimageControl>
<Sources.OlSourceBingMaps>
was renamed to <Sources.OlSourceBingmaps>
<Sources.OlSourceImageWMS>
was renamed to <Sources.OlSourceImageWms>
<Sources.OlSourceOSM>
was renamed to <Sources.OlSourceOsm>
<Sources.OlSourceTileArcGISRest>
was renamed to <Sources.OlSourceTileArcgisRest>
<Sources.OlSourceGeoTIFF>
was renamed to <Sources.OlSourceGeoTiff>
<Sources.OlSourceTileJSON>
was renamed to <Sources.OlSourceTileJson>
<Sources.OlSourceTileWMS>
was renamed to <Sources.OlSourceTileWms>
<Sources.OlSourceXYZ>
was renamed to <Sources.OlSourceXyz>
<Sources.OlSourceWMTS>
was renamed to <Sources.OlSourceWmts>