My Hotspot is set to edge="top" - The atv and ath are both "0". I'm trying to get the central Ath and Atv of the hotspot using Hotspot[Hsname].getcenter(centerAth,centerAtv);
As I understand it this should give me the Ath and Atv at the center of the image, instead it just returns the current ath and atv values. In other words, because the hotspot edge is set to top (the problem is the same for bottom) the returned values for get center are also adjusted to top. If this is not a bug it makes the function "getcenter" a bit useless because all it does is give me the hotspot coordinates, which you can always be called directly anyway.
The problem is showing in Flash and HTML5, see HTML5 example here: http://www.virtualtuur.com/krpano/getcenter/1/
Note: in the above example the hotspot edge is set to "TOP"
- CLICK ON THE BLACK BOX TO TRACE THE RESUlT
- PRESS "0" key to open the log