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

    Class GKProjection

    GKProjection class

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a new GKProjection

      Parameters

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

        The parameters object

        • x: number

          The x coordinate of the point

        • y: number

          The y coordinate of the point

        • zone: number

          The zone of the point

      Returns GKProjection

    Properties

    _pointerId: any

    Accessors

    • get easting(): number

      Retrieves the easting of the point.

      Returns number

      The easting of the point as a number.

    • get northing(): number

      Retrieves the northing of the point.

      Returns number

      The northing of the point as a number.

    • 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 zone(): number

      Retrieves the zone of the point.

      Returns number

      The zone 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, vertical axis and zone of the point.

      Parameters

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

        The parameters object

        • 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