ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
681 stars 230 forks source link

ol.getUid is not a function error #427

Closed yasinarga closed 3 years ago

yasinarga commented 3 years ago

Hello , I develop small project in HTML files. I import modules from CDN. When I add <vl-feature> it gives this error. What can be problem?

OpenLayer version 6.5.0 VueLayer version 11.35

Thank you.

image

image

image

ghettovoice commented 3 years ago

Hello @yasinarga , with vuelayers@^0.11 you should use openlayers v5. Change ol path to https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/build/ol.js and all should work as expected.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.