--- title: "Combination of onPoiClick and goToPoi moved to a wrong position" slug: "combination-of-onpoiclick-and-gotopoi-moved-to-a-wrong-position" description: "onPoiClick combined with goToPoi moves the NavVis IVION API viewpoint to the wrong POI position because no delay separates the two functions. Add a delay, for example 300ms, so the POI information loads first." tags: ["NavVis IVION Processing", "Troubleshooting", "Function Delay", "Viewpoint Issue"] updated: 2026-09-29T13:25:31Z published: 2026-09-29T13:25:31Z canonical: "knowledge.navvis.com/combination-of-onpoiclick-and-gotopoi-moved-to-a-wrong-position" --- > ## 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. # Combination of onPoiClick and goToPoi moved to a wrong position ## Introduction ### Problem description When using the combination of `onPoiClick` and `goToPoi`, the viewpoint is moved incorrectly to the POI position. **Root cause** There is no delay implemented between the two functions, wait for the page to fully load the POI information. ### Scope This applies to IVION API. ## Troubleshooting procedure Set a delay between the two functions, like below (300ms set): ![](https://cdn.document360.io/bf174766-fa1a-4fe1-a4d7-b1db1e7cb996/Images/Documentation/combination-of-onpoiclick-and-gotopoi-moved-to-a-wrong-position-image-gn75ile7.png?sv=2026-02-06&spr=https&st=2026-11-18T12%3A31%3A42Z&se=2026-11-18T13%3A31%3A42Z&sr=b&sp=r&sig=xYGxZJTGsJvt8gmtk7VB4NbCCzPqv1Z9iTGigFD5eN4%3D) Point Of Interest Application Programming Interface