Closed drndos closed 5 months ago
Describe the bug When trying to implement a plugin as described in https://vue3openlayers.netlify.app/pluginsguide/#mapcontrol-plugins I get Failed to resolve import "@/composables/useControl" error https://stackblitz.com/edit/vue3-openlayers-template-1nqj4x?file=src%2Fcomponents%2FOlSwipeCustomControl.vue
Failed to resolve import "@/composables/useControl"
Affected version(s)
+-- ol-contextmenu@5.4.0 +-- ol-ext@4.0.18 +-- ol@9.1.0 +-- vue@3.4.21 `-- vue3-openlayers@8.1.0
To Reproduce Steps to reproduce the behavior:
Expected behavior I would like the extension of plugin to work exactly as the original
Screenshots N/A
Desktop (please complete the following information):
Additional context //Edit: When I use
import { useControl } from 'vue3-openlayers' import { usePropsAsObjectProperties } from 'vue3-openlayers'
It works, so it is solved I guess.
Thank you, Filip
Describe the bug When trying to implement a plugin as described in https://vue3openlayers.netlify.app/pluginsguide/#mapcontrol-plugins I get
Failed to resolve import "@/composables/useControl"
error https://stackblitz.com/edit/vue3-openlayers-template-1nqj4x?file=src%2Fcomponents%2FOlSwipeCustomControl.vueAffected version(s)
To Reproduce Steps to reproduce the behavior:
Expected behavior I would like the extension of plugin to work exactly as the original
Screenshots N/A
Desktop (please complete the following information):
Additional context //Edit: When I use
It works, so it is solved I guess.
Thank you, Filip