• RE: IVION viewer integration in React App

    Hi Helmut,
    i had the same issue and was able to solve it by appending the ivion element.
     
    useEffect(() => {
        //hook IndoorViewer to div
        document.getElementById('iv').appendChild(document.createElement('ivion'));
    
        //get auth token
    
            getApi("****************").then((iv) => {
                //insert modifier here
               
                });
    
            })
    
    })
    
    return (
        <div id="iv">
  • onPOIopen not working with POI Link

    Hello,
    i wrote some Code that is executed on POI open.

    I am using https://docs.navvis.com/cloud/current/en/html/_static/ts_docs/interfaces/poiserviceinterface.html#onpoiopen

    This does not work if i open Ivion using a "poi" link.
    https://{instanceurl}/?site=1131625752099351&vlon=1.31&vlat=-0.25&fov=150.0&poi=2216289123272691

    In this case Ivion opens correctly, but the POI Dialogue is opened without sending the above mentioned signal. I need to manually close and reopen the POI dialogue to execute my code.

    Greetings
    Christian