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
New member
Topic author
Posts: 7
Likes: 0 post
Liked in: 0 post
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
Posts: 47
Likes: 0 post
Liked in: 1 post
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">
tween(plugin[map].width , 15%, 1.5);
tween(plugin[map].height, 25%, 1.5);

Hope this helps.

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

Who is online

Users browsing this forum: No registered users and 6 guests