You are not logged in.

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: 135

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");.....    }

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

Virtual tour Gomel
Virtual tour
Virtual tour
Elbrus
...

Windows 10x64 & krpano 1.19pr16

Similar threads