Home > @magiclane/maps-sdk > XyType > (constructor)

XyType.(constructor)

Constructs a new instance of the XyType class

Signature:

constructor(input: {
        x: T;
        y: T;
    });

Parameters

Parameter

Type

Description

{ x, y }

(not declared)

input

{ x: T; y: T; }

input properties:

  • x: T
  • y: T