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

    Class W3WProjection

    W3WProjection class

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _pointerId: any

    Accessors

    • get pointerId(): any

      Returns any

    • get token(): string

      Retrieves the token from the What3Words services.

      Returns string

      The token as a string.

    • set token(token: string): void

      Sets the token for the W3WProjection.

      Parameters

      • token: string

        An user obtained token from What3Words services.

      Returns void

    • get type(): ProjectionType

      Retrieves the specific type of the projection.

      Returns ProjectionType

      The type of the projection as a ProjectionType enumeration.

    • get words(): string

      Retrieves the three words that represent the location.

      Returns string

      The three words that represent the location as a string.

    • set words(words: string): void

      Sets the words for the W3WProjection.

      Parameters

      • words: string

        The three words that represent the location.

      Returns void

    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