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

UTMProjection.setFields() method

Sets the horizontal axis, vertical axis, zone and hemisphere of the point.

Signature:

setFields(params: {
        x: number;
        y: number;
        zone: number;
        hemisphere: Hemisphere;
    }): void;

Parameters

Parameter

Type

Description

params

{ x: number; y: number; zone: number; hemisphere: Hemisphere; }

The parameters object

params properties:

  • x: number

    The x coordinate of the point.

  • y: number

    The y coordinate of the point.

  • zone: number

    The zone of the point.

  • hemisphere: Hemisphere

    The Hemisphere of the point.

Returns:

void