Combination of onPoiClick and goToPoi moved to a wrong position

Prev Next

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 NavVis IVION API.

Troubleshooting procedure

Set a delay between the two functions, like below (300ms set):