centerPoint property
Coordinates
get
centerPoint
Gets the representative center point of this geographic area.
Calculates a coordinate that represents the geographic center of the area. The exact computation method depends on the area type: rectangles use the midpoint of corners, circles return their center coordinate, and polygons compute the centroid of their vertices.
Returns
- A Coordinates object representing the center point of the area.
Implementation
Coordinates get centerPoint;