You are not logged in.

Dear visitor, welcome to 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.


Friday, October 4th 2013, 11:38am

Get scale or zoom factor


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 ?




Posts: 120

Location: Belarus

Occupation: photographer & virtual tour developer

  • Send private message


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

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

in order to comply the word with the affairs, you need to keep quiet and do nothing!

Virtual tour Sochi
Virtual tour Gomel
Virtual tour Elbrus
MebelRoom, ...

Windows 10x64 & krpano 1.19pr3

Similar threads