Search
Circle.pixelRadius Property
See Also
 






Gets or sets a value indicating whether the radius is set in pixels.

Namespace: MindFusion.Mapping
File: Circle.js

 Syntax

JavaScript  Copy Code

get pixelRadius() {}

 Property Value

Boolean. True if the radius is in pixels, otherwise false.

 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