centerPoint property

  1. @override
Coordinates get centerPoint
override

Retrieves the center point of the geographic area. Calculates and returns the geographic center of the area.

Returns

  • Coordinates object representing the center point of the area.

Implementation

@override
Coordinates get centerPoint {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'TilesCollectionGeographicArea',
    'getCenterPoint',
  );

  return Coordinates.fromJson(resultString['result']);
}