-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use custom controls? #44
Comments
Hi, @cm-cita !
Over time, I will describe this in the documentation. |
A big thank you, for your fast reply, you are awesome! |
Show me source of your index.vue file, please |
Here is the source of the index.vue, plugin and nuxt config file: |
Seems like archive is broken
|
Ohh sorry, here once again: |
Now it's ok. You forgot add
|
Now I get the error "index.vue?1c37:73 Uncaught (in promise) ReferenceError: ol is not defined |
It's probably due to this line
This
What about Sidebar plugin , as I can see here, it doesn't support any module system and requires global Extensions from https://github.com/Viglino/ol-ext supports module systems, modern |
I close, if you have another questions, open new one |
Hello,
first thank you very much for porting Openlayers to VueJS.
Is there any possibility to use something like
var sidebar = new ol.control.Sidebar({ element: 'sidebar', position: 'right' });
(https://github.com/Turbo87/sidebar-v2)
var search = new ol.control.Search({ ... });
(http://viglino.github.io/ol-ext/examples/search/map.control.searchfeature.html)
Thank you very much.
The text was updated successfully, but these errors were encountered: