Closed Baljak closed 1 year ago
Hi @Baljak, sorry for the longer delay now. Before I would merge this I would like to go through all parts of the code to check if there are more problems like the two you have encountered.
I hope to find some time to publish a new version on the weekend.
Hi @JaWeilBaum, no problem.
I found another issue, although not related to multiple maps because the problem appeared also with version 0.8.3 and probably before: the "Circle Marker" drawing control does not work. The application does not crash but nothing appears on the map.
@JaWeilBaum While fixing another bug related to the removal of layers from feature groups (I'll open a new PR later on), I actually found another issue related to the implementation of multiple maps support. As it is not specifically related to this PR, I opened a new one instead: #52.
Hi @JaWeilBaum, no problem.
I found another issue, although not related to multiple maps because the problem appeared also with version 0.8.3 and probably before: the "Circle Marker" drawing control does not work. The application does not crash but nothing appears on the map.
Which radius do you set? I just looked up the documentation of leaflet, they state that the radius is given in pixels. Try 10000
maybe you will be able to see it.
Closing this due to #53
Hi @JaWeilBaum, no problem. I found another issue, although not related to multiple maps because the problem appeared also with version 0.8.3 and probably before: the "Circle Marker" drawing control does not work. The application does not crash but nothing appears on the map.
Which radius do you set? I just looked up the documentation of leaflet, they state that the radius is given in pixels. Try
10000
maybe you will be able to see it.
It's only when using the draw control that they did not appear. I opened a new PR to fix this.
Fixes the creation of layers using the drawing control, which was no longer working since the implementation of multiple map support in version 0.9.0.
@JaWeilBaum Thanks for merging my previous PR so quickly. I have not encountered any other issues with multiple maps.