It seems that if you try to draw a full circle with setdirection
.setDirection(0, 360)
the result is a line and not a circle.
Of course i can use
startAngle: 0,
stopAngle: 360
and result is a circle.
Is it possible to solve the problem? Tha fact is that i'm trying to load a set of point in a a geojson with variuos radius, angles and azimut, and because of the bug, it's not possible to use a single function to draw everything (arcles, semicircles and full circles). This is the function used
var LinksLayer = L.geoJson(null, {
pointToLayer: function (feature, latlng) {
I also tried to use setdirection, but the problem is the same...if you you draw a circle, and pass angle=360 and azi=0, the result is a vertical line. Ok you can pass 359.9999...but in this way you have a circle with a line inside...and it's not good.
Thank you very much for your support.
It seems that if you try to draw a full circle with setdirection .setDirection(0, 360) the result is a line and not a circle. Of course i can use startAngle: 0, stopAngle: 360 and result is a circle. Is it possible to solve the problem? Tha fact is that i'm trying to load a set of point in a a geojson with variuos radius, angles and azimut, and because of the bug, it's not possible to use a single function to draw everything (arcles, semicircles and full circles). This is the function used
var LinksLayer = L.geoJson(null, { pointToLayer: function (feature, latlng) {
I also tried to use setdirection, but the problem is the same...if you you draw a circle, and pass angle=360 and azi=0, the result is a vertical line. Ok you can pass 359.9999...but in this way you have a circle with a line inside...and it's not good. Thank you very much for your support.