Image-stitching and virtual tour solutions My account Updates
It is currently Wed Oct 01, 2014 9:31 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Hiding Panotourmap
PostPosted: Mon Aug 12, 2013 9:13 am 
Offline
New member

Joined: Thu Oct 11, 2012 12:02 pm
Posts: 7
Location: Lvov
How to make, that the panotourmap was hided slower than default?

_________________
Regards, Igor.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 16, 2013 2:33 am 
Offline
Member

Joined: Mon May 13, 2013 5:12 am
Posts: 25
Location: Australia
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.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group