Gets or sets a value indicating whether the radius is set in pixels.
Namespace: MindFusion.Mapping
File: Circle.js
JavaScript Copy Code |
---|
get pixelRadius() {} |
Boolean. True if the radius is in pixels, otherwise false.
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; } |