Leaflet circle has two radius properties: _mRadius
, which is the radius in meter, and _radius
. Is _radius
in radians or what is the unit of it?
[GIS] Leaflet circle radius unit
leaflet
leaflet
Leaflet circle has two radius properties: _mRadius
, which is the radius in meter, and _radius
. Is _radius
in radians or what is the unit of it?
Best Answer
_radius
can't be in radians, because radians are not units of lengths. It is, in fact, in pixels. This is how it is initialized:The property is used for SVG / Canvas output in
getPathString()
function.