coordinates property

Coordinates get coordinates

Returns the coordinates for the WGS84Projection.

Returns

  • The coordinates as a Coordinates object, or null if the coordinates are not set.

Implementation

Coordinates get coordinates {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'Projection_WGS84',
    'getCoordinates',
  );

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

Sets the coordinates for the WGS84Projection.

Parameters

  • IN coordinates The coordinates to set for the projection.

Implementation

set coordinates(Coordinates coordinates) {
  objectMethod(
    _pointerId,
    'Projection_WGS84',
    'set',
    args: coordinates.toJson(),
  );
}