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

    Class MGRSProjection

    MGRSProjection class

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a new MGRSProjection

      Parameters

      • params: { easting: number; letters: string; northing: number; zone: string }

        The parameters object

        • easting: number

          The easting coordinate

        • letters: string

          The letters

        • northing: number

          The northing coordinate

        • zone: string

          The zone

      Returns MGRSProjection

    Properties

    _pointerId: any

    Accessors

    • get easting(): number

      Returns the easting coordinate of the point.

      Returns number

      The easting coordinate of the point as a number.

    • get letters(): string

      Returns the letters of the point.

      Returns string

      The letters of the point as a string.

    • get northing(): number

      Returns the northing coordinate of the point.

      Returns number

      The northing coordinate 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(): string

      Returns the zone of the point.

      Returns string

      The zone of the point as a string.

    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 easting, northing, zone and letters of the point.

      Parameters

      • params: { easting: number; letters: string; northing: number; zone: string }

        The parameters object

        • easting: number

          The easting coordinate of the point.

        • letters: string

          The letters of the point as a string.

        • northing: number

          The northing coordinate of the point.

        • zone: string

          The zone of the point as a string.

      Returns void