1001 question about dynamic adding hotspotm (solved)

  • Can't understand one simple thing:

    Wnen i dynamicly creating hotspot via addhotspot() function https://krpano.com/docu/actions/#addhotspot let's to say in one scene, hotspot places outside the <scene> </scene> tag.

    If i get xml.scene of the current scene, there is now hotspot, that i added

    But... in vrtoureditor.swf when i make hotspot to connect scenes, it places right in the current scene. And the question is - HOW??? *confused*

    Einmal editiert, zuletzt von Recky (11. Juni 2017 um 12:14)

  • Finaly i did it! The only way to add xml of the added hot spot is setting scene.content
    Step one - get scene.content
    Step two - forming string of the hotspot
    step three - combine scene.content and forming hotspot string
    step four - set new scene.content

Jetzt mitmachen!

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