jieter / Leaflet-semicircle

Extend Leaflet's circle class to display semicircles.
http://jieter.github.io/Leaflet-semicircle/examples/semicircle.html
MIT License
121 stars 52 forks source link

semicirlce and circle is not the same center #39

Closed yangbinlovegis closed 10 months ago

yangbinlovegis commented 3 years ago

I use L.circle create circle ,and I L.semicircle ,the center is same latlng , but on the map ,they are diffrent position ,why

yangbinlovegis commented 3 years ago

the circle latlng is right ,the semicircle latlng is wrong

Severino commented 2 years ago

I experienced the semi-circle becoming a little bit elliptical when using a floating-point number as radius. Which makes the semicircle appear to be not in the center. Maybe this is related to #40

jieter commented 2 years ago

40 is merged, please re-test.