onrotate / onzoom event?

  • Hello,

    I have some hotspots that call a custom javascript function which overlays a div container with fancy HTML over the krpano near the clicked hotspot. But as soon as the user rotates or zooms the krpano by either mouse or control buttons, the hotspot "moves away" while the overlay stays at the old position.

    What I need here is something like a onrotate and onzoom event triggered by the pano. Then I could re-read the hotspots positions and reposition its appropriate overlay.

    Is this possible somehow?

    Thanks
    Patrick

    edit: just found "<events onviewchanged="" />
    Will see if that fits.

    Edited once, last by haggis (February 28, 2014 at 5:31 PM).

Participate now!

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