PanoTools mailing list archive

Mailinglist:proj-imim
Sender:Helmut Dersch
Date/Time:2000-May-22 17:59:05
Subject:Re: Scripting

Thread:


proj-imim: Re: Scripting Helmut Dersch 2000-May-22 17:59:05
> Gummy Bear wrote:
> 
> Would be nice if I could set the amout of zoom that
> I want when I call the ZoomIn() script via Javascript.
> 
> 3% is not quite enough, IMHO.
> 

You can use the function

document.ptviewer.gotoView( document.ptviewer.pan(), document.ptviewer.tilt(),
                           document.ptviewer.fov() * 1.03 );

in place of ZoomIn() and use any value instead of 1.03. Same for ZoomOut() and
the pan functions.

Helmut Dersch



Next thread:

Previous thread:

back to search page