calculating fov for the max zoom

  • Hi,

    I am setting the maxpixelzoom attribute for the view element in the xml. How can I calculate the (s|h|v)fov for this maximum allowed zoom in the current window size other than by zooming in, getting the fov, and then zooming back out?

    Edited once, last by zbooy (May 17, 2023 at 1:22 PM).

  • Well, I have found the answer myself and I'm posting it here for anyone having this problem in the future *smile* Actually, it turned out to be trivial: just use the view.fovmin variable, it gets constantly updated even if not set initially.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!