Hiding Panotourmap  

Share your tips and tricks here or get help with any Panotour problem!
No bug reports (of any kind) in this forum!
no avatar
Ukrajinec
New member
 
Posts: 7
Joined: Thu Oct 11, 2012 12:02 pm
Location: Lvov

Hiding Panotourmap

by Ukrajinec » Mon Aug 12, 2013 9:13 am

How to make, that the panotourmap was hided slower than default?
Regards, Igor.

no avatar
udrh
Member
 
Posts: 28
Joined: Mon May 13, 2013 5:12 am
Location: Australia

by udrh » Fri Aug 16, 2013 2:33 am

To slow down the opening or closing map function, you need to edit the tour xml files.

Find the 'closemap' action in the main xml tour file (the one without a number, e.g. virtualtour.xml)

You can add a third parameter to the tween function which sets the speed (in seconds) of the transition.

Example: (speed is set to 1.5 seconds)

<!-- close the map -->
<action name="closemap">
set(plugin[mapradar].visible,false);
hidemapspot();
set(plugin[map].onclick,openmap);
tween(plugin[map].width , 15%, 1.5);
tween(plugin[map].height, 25%, 1.5);
</action>

Hope this helps.

Cheers,
Michael
Last edited by udrh on Fri Aug 16, 2013 2:33 am, edited 1 time in total.


Return to Using Panotour / Panotour Pro 1.8

Who is online

Users browsing this forum: No registered users and 3 guests