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