Closed laurentClave closed 8 years ago
Please post an example of the code to produce this error.
Hi,
OK, i reproduce the bug : http://jsfiddle.net/fJFWN/123/
In my project the bug is even more visible.
Zoom 3, ok :
Zoom 1, bug :
Thank
If the circles have the same angle, it looks like there is no bug
Up ?
You don't have a idea of problem ?
I had a quick look into it but could not find a solution. Currently lacking the time to dig in deeper, if you can do that, I'll be more than happy to merge your PR.
It was a matter of removing the rounding, this looks almost perfect now:
http://jieter.github.io/Leaflet-semicircle/examples/concentric.html
I have concentric semi-circles with the same radius that do not appear in the same position with different zoom
ZOOM 2 : The circles do not have the same center
ZOOM 1 : The circles are concentric