Programming POI Events
  • 01 Mar 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Programming POI Events

  • Dark
    Light
  • PDF

Article summary

This chapter explains the main POI 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 POIs

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

  • onPoiOpen

  • onPoiClose

poi-open-close

Saving and Deleting POIs

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

Using Mouse Events

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 Panorama view and Map view.

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

  • onPoiClick

  • onPoiMouseOver

  • onPoiMouseOut

Highlighting POIs

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

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

  • onPoisHighlight

  • onPoisUnhighlight

poi-highlights


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.