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

    Class UTMProjection

    UTMProjection class

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a new UTMProjection

      Parameters

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

        The parameters object

        • hemisphere: Hemisphere

          The hemisphere

        • x: number

          The x coordinate

        • y: number

          The y coordinate

        • zone: number

          The zone

      Returns UTMProjection

    Properties

    _pointerId: any

    Accessors

    • get hemisphere(): Hemisphere

      Retrieves the hemisphere of the point.

      Returns Hemisphere

      The hemisphere of the point as a Hemisphere enumeration.

    • 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

      Returns the x coordinate of the point.

      Returns number

      The x coordinate of the point as a number.

    • get y(): number

      Returns the y coordinate of the point.

      Returns number

      The y coordinate of the point as a number.

    • 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, zone and hemisphere of the point.

      Parameters

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

        The parameters object

        • hemisphere: Hemisphere

          The Hemisphere of the point.

        • 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