-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Error from calling L.MarkerClusterGroup after updating to 2.0.0 #15
Comments
@EmmanuelBeziat Try adding
|
Hi, |
Did you find a solution ? I run into the same issue after updating. |
@arenddeboer which file should that be ? |
I moved |
Thanks. Meanwhile, i've modified my
I still have other problems though, but with |
I updated the package to v2.1.0, please try it again and let me know if this issue keeps appearing |
For me, neither of these package stacks work consistently, so I am having a hard time figuring out why the leaflet-part of my application breaks. I am working on Most current 2.x setup
The most current modules on the two unixoids produce the same results as OP described. After downgrade to older versions of the JS-modules
on a debian server w/ node 10:The error message is not literally as OP wrote, but:
|
Me too. |
Could you try now? I published v3.0.0 |
When I clone your project. npm install, npm run example. It's working. [Vue warn]: Error in mounted hook: "TypeError: Cannot read property '_zoom' of undefined" Example.vue is right separately. But install in other isn't working. |
@zhanghoo could you tell me what packages do you have installed in your other project? Try installing |
👍 |
True. I'll need to setup the peer dependencies correctly. I'll do that |
I built new one. It's working. Thank you very much.
|
Thanks! |
Sorry for that, but I have the same problem as @zhanghoo had I've tried to update the packages but it didn't help to solve the issue Could you please tell what was the final remedy for this issue? |
@AndreyNvk the problem should be related to the packages' versions only. Please try updating to these #15 (comment) |
@jperelli I've got exactly the same versions of the packages but it doesn't affect somehow the situation with the issue I took a look on the Vue devtool and noticed that the order of elements is violated
But in my vue component the Maybe this is the root cause of my problem Do you have an idea why Vue violate the order of elements and how I can control it? |
I still don't know the reason. This demo is new one that runs OK. @AndreyNvk |
@AndreyNvk can you share your code or make a project that has the error so we can reproduce it? |
@AndreyNvk It's ok here. I'm looking into your repo |
@AndreyNvk You never said that you were using rotatedmarker plugin. The problem is that that plugin is not made for vue2-leaflet version 2 https://github.com/mudin/vue2-leaflet-rotatedmarker, the upstream issue is that the rotatedmarker plugin is not compatible with ES6 modules declarations. See bbecquet/Leaflet.RotatedMarker#11 |
@jperelli Yes, I've turned the rotadedmarker off and everything started to work smoothly Julian, thank you for your detailed response you've really helped me to work it out |
Thanks @arenddeboer ! I follow your move to fix the same issue in my react app using |
Hi,
Having just updated
vue2-leaflet
from 0.x.x to 1.0.2 (vue2-leaflet-markercluster
andleaflet
dependencies are up to date too), I just ran into this error in console browser:My code hasn't change much, except for
the vue2-leaflet
breaking-changes that needed to be done.Here's what it looks like:
Except from the components names, there's no difference with before. I checked the doc here but I find nothing that I would have missed.
Any idea of what's happening?
Thanks!
The text was updated successfully, but these errors were encountered: