Closed ValentinH closed 9 years ago
Hi @ValentinH you're totally right, it was a bug in the path/layerGroup management. Now I think it's solved. I have created an example based on your jsfiddle here:
http://tombatossals.github.io/angular-leaflet-directive/examples/path-change-in-group-layer.html
Thanks for reporting
Great! Thanks for being this quick!
I have noticed a behaviour that seems to be a bug when using path along with layers. However, I'm not sure if it is a problem on leaflet side or on this directive side.
When displaying paths in a group layer, and modifying the paths data, if I hide and show again the layer, the displayed paths are incorrect.
Here is a fiddle: http://jsfiddle.net/7au1sy91/.
To reproduce: