How to display a different url based on scene name to share with React ?

  • Hi guys,

    i'm currently facing a big problem.

    I try to show in the url which pano is displaying, like that I could share directly the good scene to my partner.

    But i don't uderstand how to to it right now.

    I added the passQueryParameters=true, but now what should i do ?

    Thanks for your help

  • anything that you pass by the url now, will be a variable in krpano

    so if you have ?startscene=10, that will set startscene in krpano
    in your default krpano xmls is an action that will check startscene and load it

    this way you can pass anything and work with it inside krpano

    normally (with the default skins) startscene and startview is read
    ie. ?startscene=10&startview=50,20,90

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!