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

GKProjection.setFields() method

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

Signature:

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

Parameters

Parameter

Type

Description

params

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

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.

Returns:

void