setFields method

void setFields({
  1. required int easting,
  2. required int northing,
  3. required String zone,
  4. required String letters,
})

Sets the easting, northing, zone and letters of the point.

Parameters

  • IN easting The easting coordinate of the point.
  • IN northing The northing coordinate of the point.
  • IN zone The zone of the point as a string.
  • IN letters The letters of the point as a string.

Implementation

void setFields(
    {required int easting,
    required int northing,
    required String zone,
    required String letters}) {
  objectMethod(
    _pointerId,
    'Projection_MGRS',
    'set',
    args: <String, dynamic>{
      'easting': easting,
      'northing': northing,
      'zone': zone,
      'letters': letters,
    },
  );
}