setFields method

void setFields({
  1. required double x,
  2. required double y,
  3. required int zone,
  4. required Hemisphere hemisphere,
})

Update the UTM coordinate fields for this point.

Parameters

  • x: (double) New x coordinate in meters.
  • y: (double) New y coordinate in meters.
  • zone: (int) UTM zone.
  • hemisphere: (Hemisphere) Hemisphere for the coordinate.

Implementation

void setFields({
  required double x,
  required double y,
  required int zone,
  required Hemisphere hemisphere,
}) {
  objectMethod(
    _pointerId,
    'Projection_UTM',
    'set',
    args: <String, dynamic>{
      'x': x,
      'y': y,
      'zone': zone,
      'hemisphere': hemisphere.index,
    },
  );
}