error:ERROR: plugin[testbutton] loading error: %$mypath%/test.png
In the local test can normally get to value。but uploaded to the server, can not get to the value。what is the problem?
error:ERROR: plugin[testbutton] loading error: %$mypath%/test.png
In the local test can normally get to value。but uploaded to the server, can not get to the value。what is the problem?
the initvars:{...} only use layer url?
Hi,
what do you mean?
Maybe post a link to your example...
Best regards,
Klaus
I want to pass a custom value in the HTML document, which is used in the XML.
example:
tour.html
embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", html5:"prefer",initvars:{mypath:"./panos1/"}, passQueryParameters:true});
tour.xml
<layer name="test" path="%$mypath%" />
---------------------------------------------
But there is no way to implement the above method,What should I do?
Hi,
that should basically work, but you need to use the 1.19 version for initvars.
(btw - layer 'url' not 'path')
Best regards,
Klaus
Don’t have an account yet? Register yourself now and be a part of our community!