Constructors

Properties

Methods

Constructors

Properties

create: ((mapId, elementId) => void) = create

Type declaration

    • (mapId, elementId): void
    • Create a tooltip and add it to the map (hidden by default)

      Parameters

      • mapId: string
      • elementId: string

      Returns void

delete: ((mapId, elementId) => void) = deleteTooltip

Type declaration

    • (mapId, elementId): void
    • Delete a tooltip from the map with given elementId If you only need to hide it, use hide() instead

      Parameters

      • mapId: string
      • elementId: string

      Returns void

hide: ((mapId, elementId) => void) = hide

Type declaration

    • (mapId, elementId): void
    • Hide a tooltip with given elementId

      Parameters

      • mapId: string
      • elementId: string

      Returns void

set: ((mapId, elementId, position, content) => void) = set

Type declaration

    • (mapId, elementId, position, content): void
    • Set the content of a tooltip and show it

      Parameters

      • mapId: string
      • elementId: string

        The id of the element to which the tooltip is attached

      • position: ARCoordinates

        The position of the tooltip

      • content: TooltipContent

        The content of the tooltip

      Returns void

Methods

Generated using TypeDoc