Sie sind nicht angemeldet.

1

Mittwoch, 25. März 2020, 21:39

KEEPVIEW only for hotspots - NOT for thumbs

Hi, for better navigation in my large tour I use loadscene_flags="MERGE|KEEPVIEW" in my tour.xml. Alll panos are set to NORTH .
Working correctly.

But I want to have only MERGE for my thumbs clicking. It means that each pano has set its own starting view( some are to noth, some to south etc).
So if I click on thumbs, I want to see excatly the same view as is on the thumb.

I hope it is understandable.

Thanks in advance

2

Mittwoch, 25. März 2020, 22:11

Hi,

in the vtourskin.xml:

- copy the 'skin_loadscene' action and make an own one, e.g. named 'skin_loadscene_hotspot',
- there use MERGE|KEEPVIEW in the loadscene call
- in the 'skin_hotspotstyle_click' action call the new 'skin_loadscene_hotspot' action instead of the 'skin_loadscene' one

Best regards,
Klaus

3

Mittwoch, 25. März 2020, 23:58

Thank you very much, Klaus!!
See here:
http://listopad-1989-v-prazskych-ulicich.muzeumprahy.cz/