You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, October 4th 2013, 11:38am

Get scale or zoom factor

Hello,





We are
currently evaluating KRPano for a software solution.





Is it
possible to indicate the scale of the part shown compared to the global image.


If such a
feature is not available, could you let me know (how to find out) how to get
the current zoom factor in JavaScript ?





Thanks.

Taurus

Trainee

Posts: 54

Location: Belarus

Occupation: photographer & virtual tour developer

  • Send private message

2

Friday, October 4th 2013, 12:15pm

the visible part of the image is characterized by a field of view, the full name of the variable in the krpano - view.fov


Source code

1
    function XXXXX { .....var fov = kr.get("view.fov");.....    }

national scientists for the first time in the world managed to make mountains out of molehills *cool*

Similar threads