Home > @magiclane/maps-sdk > MGRSProjection > setFields

MGRSProjection.setFields() method

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

Signature:

setFields(params: {
        easting: number;
        northing: number;
        zone: string;
        letters: string;
    }): void;

Parameters

Parameter

Type

Description

params

{ easting: number; northing: number; zone: string; letters: string; }

The parameters object

params properties:

  • easting: number

    The easting coordinate of the point.

  • northing: number

    The northing coordinate of the point.

  • zone: string

    The zone of the point as a string.

  • letters: string

    The letters of the point as a string.

Returns:

void