Skip to content

Commit

Permalink
refactor(ol-animation-feature): remove unused exported component `ol-…
Browse files Browse the repository at this point in the history
…animation-feature`

BREAKING CHANGE:
The component `ol-animation-feature` was simply exposing the map, vectorLayer and it's passed properties. There was no need to use this component at all and therefore it has been removed. However, when the component was used in the past, make sure to remove it from your template and move the `ref`'s for map and the layer to the correct components.
  • Loading branch information
d-koppenhagen committed Apr 12, 2024
1 parent 158f00e commit 90f082a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
31 changes: 0 additions & 31 deletions src/components/animations/OlAnimationFeature.vue

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/animations/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { App } from "vue";
import OLAnimationDrop from "./OlAnimationDrop.vue";
import OlAnimationFade from "./OlAnimationFade.vue";
import OlAnimationFeature from "./OlAnimationFeature.vue";
import OlAnimationPath from "./OlAnimationPath.vue";
import OlAnimationShake from "./OlAnimationShake.vue";
import OlAnimationSlide from "./OlAnimationSlide.vue";
Expand All @@ -11,7 +10,6 @@ import OlAnimationZoom from "./OlAnimationZoom.vue";
function install(app: App) {
app.component("ol-animation-drop", OLAnimationDrop);
app.component("ol-animation-fade", OlAnimationFade);
app.component("ol-animation-feature", OlAnimationFeature);
app.component("ol-animation-path", OlAnimationPath);
app.component("ol-animation-shake", OlAnimationShake);
app.component("ol-animation-slide", OlAnimationSlide);
Expand All @@ -25,7 +23,6 @@ export {
install,
OLAnimationDrop,
OlAnimationFade,
OlAnimationFeature,
OlAnimationPath,
OlAnimationShake,
OlAnimationSlide,
Expand Down

0 comments on commit 90f082a

Please sign in to comment.