@magiclane/maps-sdk
    Preparing search index...

    Class LAMProjection

    LAMProjection class

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a new LAMProjection

      Parameters

      • params: { x: number; y: number }

        The parameters object

        • x: number

          The x coordinate

        • y: number

          The y coordinate

      Returns LAMProjection

    Properties

    _pointerId: any

    Accessors

    • get pointerId(): any

      Returns any

    • get type(): ProjectionType

      Retrieves the specific type of the projection.

      Returns ProjectionType

      The type of the projection as a ProjectionType enumeration.

    • get x(): number

      Retrieves the horizontal axis of the point.

      Returns number

      The x coordinate of the point as a number.

    • get y(): number

      Retrieves the vertical axis of the point.

      Returns number

      The y coordinate of the point as a number.

    Methods

    • Registers an object for auto release. When the object is not used anymore, it will be released automatically from C++.

      Parameters

      • pointerId: any

        The pointer ID to register

      Returns void

    • Sets the horizontal axis and vertical axis of the point.

      Parameters

      • params: { x: number; y: number }

        The parameters object

        • x: number

          The x coordinate of the point.

        • y: number

          The y coordinate of the point.

      Returns void