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

    Class WGS84Projection

    WGS84Projection class

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _pointerId: any

    Accessors

    • get coordinates(): Coordinates | null

      Returns the coordinates for the WGS84Projection.

      Returns Coordinates | null

      The coordinates as a Coordinates object, or null if the coordinates are not set.

    • set coordinates(coordinates: Coordinates | null): void

      Sets the coordinates for the WGS84Projection.

      Parameters

      • coordinates: Coordinates | null

        The coordinates to set for the projection.

      Returns void

    • 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.

    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

    • Creates a new WGS84Projection from latitude and longitude

      Parameters

      • latitude: number

        The latitude

      • longitude: number

        The longitude

      Returns WGS84Projection