Hi everyone,
I am using the image gallery from the Examples page in one of my projects (https://krpano.com/releases/1.20.9/examples/#image-gallery).
Basically what it does is creating layers for the background and the included images, right? So I thought, that it should be possible to access these layers from my main tour.xml-file. Turns out, that they are not so easy to find . I think it might has something to do that these layers for the gallery are created in the external thumbbar.xml file. Maybe it has something to do with the scope of these layers, similar to the scope of variables declared within functions in "normal" programming languages?
I little background why I want to access these layers: I am creating a little search game for kids with krpano. I have hidden hotspots, that turn in to a small green "check" sign, when the kids click the right area. I also included the image gallery to show which features they should search. If they find the feature in the panorama, I would also like to put the "check" sign on the respective image in the image gallery.
Could someone guide me in the right direction to accessing variables/layers that were created from external xml-Files please?
One work around might be to copy the content of the whole thumbbar.xml in the main tour.xml, but I would like to avoid that if possible. I think this would decrease the readability unneccessary.
Thanks in advance
Martin