Programming POI Events

Prev Next

This chapter explains the main events. For a complete list, see the PoiService reference.

NavVis IVION uses the typed-signals library to emit and handle events.

Download the POI Events sample project here.

Opening and closing events are emitted when the is opened or closed. To respond to these events, connect your event handlers to the following signals:

  • onPoiOpen

  • onPoiClose

poi-open-close

Repository actions also emit signals when POIs are created, updated, or deleted.

When creating and updating POIs, the following signal is used:

  • onPoiSave

When deleting POIs, the following signal is used:

  • onPoiDelete

Similar to standard HTML DOM Events, NavVis IVION emits events when you move the mouse pointer over or out of a POI, or when you click on a POI. These events are emitted from both the and .

To respond to these events, connect your event handlers to the following signals:

  • onPoiClick

  • onPoiMouseOver

  • onPoiMouseOut

POIs are highlighted when the titles of POIs are displayed in the or . Note that several POIs can be highlighted.

To respond to these events, connect your event handlers to the following signals:

  • onPoisHighlight

  • onPoisUnhighlight

poi-highlights