Closed KedroX closed 9 months ago
Hmm... Not sure what could be wrong here. It's very similar to the save and restore state demo and it works there. Do you get any errors in the console maybe?
Hi, Yes it works in the demo, but only during the current editing session. I just added an alert in the markerchange event to check. Here are the steps to reproduce :
Oh, I get and see it now. Thank you for the details! I will investigate and fix this.
This should be fixed in 2.31.1. Thank you for reporting this bug, @KedroX!
Thanks to you for your job!
Hi,
I don't know if it's a bug or simply not implemented but I'm trying to use Marker-level events to handle marker change. It works as expected for new created markers during current editing sessions, but not after restoring an old state. In this case events are not firing.
Is there a way to do this ?
I'm using marker.js 2 from UNPKG CDN
https://unpkg.com/markerjs2/markerjs2.js
Here is an example with "markerchange" event. After restoring state, if you modify a restored marker from old state, event is not fired :
Thanks a lot for your help! And congratulations for this good library !
L.