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

    Class OverlayItemPosition

    Overlay Item Position class

    This class should not be instantiated directly.

    Hierarchy

    • GemAutoreleaseObject
      • OverlayItemPosition
    Index

    Constructors

    • Internal

      Parameters

      • pointerId: number

      Returns OverlayItemPosition

    Accessors

    • get distance(): number

      Get the distance in meters from the reference point

      Returns number

      The distance in meters

      An exception if it fails

    • get overlayItem(): OverlayItem

      Get the overlay item

      Returns OverlayItem

      The overlay item

      An exception if it fails

    • get pointerId(): number

      Returns 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