Gets or sets the radius of this drawing.
Namespace: MindFusion.Mapping
File: Circle.js
SyntaxJavaScript
Copy Code
|
|---|
get radius() {} |
Number. The radius in meters.
ExampleThe 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