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