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

LAMProjection.setFields() method

Sets the horizontal axis and vertical axis of the point.

Signature:

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

Parameters

Parameter

Type

Description

params

{ x: number; y: number; }

The parameters object

params properties:

  • x: number

    The x coordinate of the point.

  • y: number

    The y coordinate of the point.

Returns:

void