View Full Version : Zoom to area?
africano
12-05-2008, 04:28 PM
Ive got a request and dont know if its possible.
In my pano there are several hotspots. Can I have links in the top of the pano...and when clicked the pano zooms to a selected area of the pano?
Is this possible?
Thanks!
africano
12-06-2008, 11:06 AM
I suppose this is possible although I havent got any replies.
Hotspots, that onClick go to a certain part of the pano....would I give the coordinates...if anyone knows how to go about doing this please let me know.
Paddy2a
12-06-2008, 02:55 PM
This might help :
http://www.flashpanos.com/content/simple-panorama-auto-presentation
Regards,
Paddy
Cameleer
12-06-2008, 04:31 PM
Are you looking at doing something like this?
On the right bottom corner of the pano are 2 buttons, one for back and one for next.
When clicked it will turn and zoom in on the next location, then open the new pano.
http://indiavrtours.com/badami/
if I where to remove the link to the next pano, then it would just turn and zoom to the point I want it to.
The red part of the code below is what I think you would need:
<spot id="first_cave" static="1" align="RB" salign="RB" staticX="-24" staticY="-8" alt="Cave One Exterior.
Dedicated to Lord Shiva, this cave
houses a magnificent sculpture of
the 18-armed Lord Nataraja." url="images/next.png" scale=".9" altXOffset="-220" altYOffset="-100" pan="25" tilt="0" onLoad="brightness=.07,100; brightness=-0.3,4000; alpha=.6,5000"
onOver="brightness=.05,100; alpha=1,100"
onOut="brightness=.07,100; brightness=-0.3,1000; alpha=.6,1000"
onClick="pano.qualityStatic=low;pano.pan=1,1900;pano.tilt=7 ,1900;pano.zoom=1.6,1900;pano.leash=free;loadPano( panoName=images/first_cave4&xml_file=first_cave4.xml&)" />
Roger
IndiaVRtours.com
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.