diff --git a/package.json b/package.json index 1d3a22b6..c418949c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-openlayers", - "version": "0.1.41", + "version": "0.1.42", "description": "Openlayers Wrapper for Vue3", "repository": { "type": "git", diff --git a/src/App.vue b/src/App.vue index 12becd7e..a7effe44 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,7 +11,7 @@ - + @@ -59,7 +59,7 @@ - + @@ -102,7 +102,7 @@ - + @@ -132,8 +132,32 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/src/components/animations/PathAnimation.vue b/src/components/animations/PathAnimation.vue new file mode 100644 index 00000000..92c5f812 --- /dev/null +++ b/src/components/animations/PathAnimation.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/src/components/animations/index.js b/src/components/animations/index.js index 286a841c..18d6a215 100644 --- a/src/components/animations/index.js +++ b/src/components/animations/index.js @@ -6,6 +6,7 @@ import ZoomAnimation from './ZoomAnimation.vue' import TeleportAnimation from './TeleportAnimation.vue' import FadeAnimation from './FadeAnimation.vue' import SlideAnimation from './SlideAnimation.vue' +import PathAnimation from './PathAnimation.vue' function install (app) { if (install.installed) { @@ -21,6 +22,7 @@ function install (app) { app.component(TeleportAnimation.name, TeleportAnimation) app.component(FadeAnimation.name, FadeAnimation) app.component(SlideAnimation.name, SlideAnimation) + app.component(PathAnimation.name, PathAnimation) } export default install @@ -32,5 +34,8 @@ function install (app) { ShakeAnimation, ZoomAnimation, TeleportAnimation, - FadeAnimation + FadeAnimation, + PathAnimation, + SlideAnimation + } \ No newline at end of file diff --git a/src/components/map/Feature.vue b/src/components/map/Feature.vue index abe8d6d0..187bee0c 100644 --- a/src/components/map/Feature.vue +++ b/src/components/map/Feature.vue @@ -64,6 +64,10 @@ export default { provide('feature', feature) provide('stylable', feature) + + return{ + feature + } }, props: { properties: {