Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Layer is not updated when updating ol-source-xyz url prop #383

Closed
htrandev172 opened this issue Sep 24, 2024 · 0 comments
Closed

Layer is not updated when updating ol-source-xyz url prop #383

htrandev172 opened this issue Sep 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@htrandev172
Copy link

Describe the bug
This demo doesn't work anymore with the newest version.

https://vue3openlayers.netlify.app/componentsguide/sources/xyz/

Affected version(s)

Please run npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu and paste the output below:

+-- ol-contextmenu@5.5.0
+-- ol-ext@4.0.23
+-- ol@9.2.4
+-- vue@3.5.8
`-- vue3-openlayers@11.2.0

To Reproduce
https://stackblitz.com/edit/vue3-openlayers-template-qgtm5q?file=src/components/TheMap.vue

I have forked a demo here with the exact same code. Here are the warnings on the console

Screenshot 2024-09-24 at 12 33 44 PM

Expected behavior
Layer is updating when changing the source url. Looks like it did work with the previous version.

├── ol-contextmenu@5.5.0
├── ol-ext@4.0.23
├── ol@9.2.4
├── vue@3.5.6
└── vue3-openlayers@8.1.0
@htrandev172 htrandev172 added the bug Something isn't working label Sep 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant