Vertex Viewer SDK
    Preparing search index...

    Class PinModel

    Index

    Constructors

    Methods

    • Registers an entity to be drawn in the canvas

      Parameters

      • pin: Pin

        A pin entity to draw.

      • suppressEvent: boolean = false

      Returns boolean

      true if the entity has been added.

    • Registers an event listener that will be invoked when the model's pin selection changes

      Parameters

      • listener: Listener<string | undefined>

        The listener to add.

      Returns Disposable

      A disposable that can be used to remove the listener.