You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, September 13th 2018, 1:44pm

Why is my layer hidden?

For whatever reason - most propably a simple mistake from me - I put a layer in a Panorama, but it is not displayed, if I call it from a Kind of tour.

See https://www.gaertner-servatius.de/praxis…neu/krpano.html where it is displayed, but not in
https://www.gaertner-servatius.de/praxis/rundgang.php when you navigate to lowest room on right side of the map

Even if I put all the animationcode, the map, the init function, etc. directly /again) in the
https://www.gaertner-servatius.de/praxis…/p-roentgen.xml

Nothing happens. The layer is not shown.

Where is my Little Problem. Qould be more than great if someone has a hint.

2

Thursday, September 13th 2018, 2:54pm

Hi,

you're loading the panos with the KEEPBASE flags - and KEEPBASE is a combination of KEEPDISPLAY + KEEPCONTROL + KEEPPLUGINS - and KEEPPLUGINS means keeping all current <plugin>/<layer> elements when loading a new pano.

That means <plugin>/<layer> elements defined in the new pano will be ignored because of that flag.

Try using the MERGE flag instead.

Best regards,
Klaus

3

Thursday, September 13th 2018, 5:43pm

Thanks so much. It is working directly with some needed adoptions, like all the Keep-s, etc.

And I was expecting, that the layers would be blended as well with the pano/XML. But now I'm tweening it in.

Thanks again for your help!