• Hello,
    I'm trying to update hotspots after a button click via loadxml (krpano.call("loadxml.........");)
    My xml file look like this:

    <krpano>
    <hotspot name="hotspot1"></hotspot>
    <hotspot name="hotspot2"></hotspot>
    etc...
    </krpano>

    Krpano returns everytime xml parsing error.
    I can do it with loadpano, but i don't want to reload entire pano to refresh hotspots.

    Is there a way to achieve this?

    Thank you

  • Hi,

    regarding the xml error - try to load the xml file directly into Firefox or Chrome to check that is wrong with the xml itself.

    Regarding updating the hotspot - loading a new pano will also remove the current pano image, for updating only the hotspot try to use the krpano actions (e.g. addhotspot or removehotspot) to add or move the hotspots with them.

    Best regards,
    Klaus

Participate now!

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