Hi,
I would like to include an XML file that is not embedded from one that is. What I want to do is leave the map xml exposed so the client can add their Google Map API key.
embedded:
|
Quellcode
|
1
|
main.xml ...<include url="map.xml" />...
|
external:
|
Quellcode
|
1
|
map.xml ...<plugin name="map"key="Endter your Google Maps API Key HERE!" ... >...</plugin>
|
But I'm not having much luck. I have not tried using full paths, since that would not work for my situation. I just wanted to ask if this is a setup someone has solved before I keep experimenting.
Not sure if this is a viable solution (I assume this would be equivalent to replacing the current XML rather than 'including') but I also tried adding doing a "krpano.loadxml(MapXML);" from a plugin swf but I get an error with that...
Error: Call to a possibly undefined method loadxml through a reference with static type krpano_as3_interface.
Any guidance or ideas would be greatly appreciated.
Thanks in advance!