Search
Circle.radius Property
See Also
 






Gets or sets the radius of this drawing.

Namespace: MindFusion.Mapping
File: Circle.js

 Syntax

JavaScript  Copy Code

get radius() {}

 Property Value

Number. The radius in meters.

 Example

The following code checks if the radius of this Circle is in pixels, and if not - sets it to 200 meters:

JavaScript  Copy Code
if(!drawings.decorations[0].pixelRadius)
{
   drawings.decorations[0].radius = 200;
}

 See Also