Search
Circle.center Property
See Also
 






Gets or sets the center point of this drawing in geographical coordinates.

Namespace: MindFusion.Mapping
File: Circle.js

 Syntax

JavaScript  Copy Code

get center() {}

 Property Value

LatLong. The center point in geographical coordinates.

 Example

The following code checks the center of a Circle instance and, if it is a negative number, removes it from the decorations collection:

JavaScript  Copy Code
if(drawings.decorations[0].center.latitude > 0)
{
   drawings.decorations.removeAt(0);
}

 See Also