PDA

View Full Version : How to load pano, rotate and zoom in?


andrew22222
12-05-2007, 09:01 PM
Hi,

I've already had a good look for this on the forum plus other peoples xml files but can't work it out.

I have 8 panoramas of an entertainment center being built over a period of time and taken from various spots. I would like to load each panorama from thumbnail which I can do no problem but would like to load it at a certain viewpoint, spin it round slightly and zoom in before the user can start moving it themselves..

How on earth do you do it? Obviously a nice chunk of code is added to the xml file somethere.

Thanks

Andrew

cheathamlane
12-05-2007, 09:24 PM
Hey there:

You might try something like the following:

<panorama>

<parameters>

tiltHome = -90
zoomHome = 2

</parameters>

<hotspots>

<global
onStart="global.pano_move"
pano_move="pano.pan=143,1900;pano.zoom=1,100;pano.tilt=0,800, ,global.pano_move2"
pano_move2="pano.pan=80,1000;pano.tilt=-15,500;"
>

<pano></pano>

</global>

</hotspots>

</panorama>

HTH!