---
title: "Programming POI Events"
slug: "programming-poi-events"
description: "Programming Point of Interest (POI) events with the NavVis IVION frontend API"
tags: ["API Integration", "Event Handling", "Frontend API", "Mouse Events", "POI Management", "Point of Interest"]
updated: 2024-03-01T15:36:51Z
published: 2024-03-01T15:36:51Z
canonical: "knowledge.navvis.com/programming-poi-events"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.navvis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Programming POI Events

This chapter explains the main POI events. For a complete list, see the [PoiService](https://ivion-api.docs.navvis.com/latest/reference/interfaces/poiserviceinterface.html) reference.

NavVis IVION uses the [typed-signals library](https://github.com/Lusito/typed-signals) to emit and handle events.

Download the [POI Events sample project here](https://ivion-api.docs.navvis.com/latest/samples/poi-app.zip).

## 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](https://cdn.document360.io/bf174766-fa1a-4fe1-a4d7-b1db1e7cb996/Images/Documentation/poi-open-close.gif)

## 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](https://www.w3schools.com/jsref/dom_obj_event.asp), 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](https://cdn.document360.io/bf174766-fa1a-4fe1-a4d7-b1db1e7cb996/Images/Documentation/poi-highlights.gif)

Point Of Interest

The user interface panel which displays the POI description and buttons for sharing, editing, and routing.

In the panorama view, you can explore your data in a seamless experience. In this view, you can see both panoramic images and point clouds. By default, the main view of the NavVis IVION interface shows the panorama view.

In the map view, you can see the 2D maps of the site and where the site is located on a world map. By default, the map view is displayed in the mini view, which is the small window in the bottom right corner of the NavVis IVION interface. Clicking on the two small arrows on the bottom right corner of the screen switches between panorama view and map view.
