Is it possible to not use XML files?

  • I'm working on a very specific use case for a single pano (at this stage, more panos down the track) and in this use case the XML files are being blocked from loading. I'm wondering if it is possible to put all the XML data (which is pretty minimal) directly into the main HTML file?

  • Hi,

    yes, and by using the loadpanoimage() action:

    it's even possible to avoid any xml-file or xml-string usage.

    Here an example for loading a multires flat-pano:

    krpano.image.flat = {
      url : "tile_%l_%v_%h.jpg",
      multires : "512,1024x512,2048x1024,4096x2048"
      console.log('load call done');

    Best regards,

Participate now!

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