You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a very simple example of adding and removing a marker. I need to use toRaw in order to workaround the problem, but I don't see any example in the documentation using toRaw, so probably I'm doing something wrong of there is a bug somewhere.
Hi,
I've created a very simple example of adding and removing a marker. I need to use toRaw in order to workaround the problem, but I don't see any example in the documentation using toRaw, so probably I'm doing something wrong of there is a bug somewhere.
Please see the example here and try to zoom in/out:
https://codesandbox.io/p/sandbox/vue3-leaflet-forked-m8lz8g
You'll get this message:
Cannot read properties of null (reading '_latLngToNewLayerPoint')
Now comment out the code where toRaw is not used, and see the error does not happen.
Can you please explain why I need to use toRaw?
Thanks!
The text was updated successfully, but these errors were encountered: