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.

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 343

Location: CZ

  • Send private message

1

Wednesday, March 25th 2020, 9:39pm

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

Wednesday, March 25th 2020, 10:11pm

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

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 343

Location: CZ

  • Send private message

3

Wednesday, March 25th 2020, 11:58pm

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