cross-browser file access problem - javascript / geoxml3 /google maps

Short version: code  works fine in Firefox, in chrome/internet explorer i get an error in console 'cannot open file' when trying to load the kml (generated from a php script)

since it works in FF, I don't think my code has a problem, but maybe it requires an addition
 to make it work in other browsers? hmm... im not an expert, any advice to fix the code problem is welcome,
many thanks!

using geoxml3 library
google maps apiv3

reference links:
usage of geoxml lib:

files attached to re-create my setup,
demo link:
Who is Participating?
weaverkConnect With a Mentor Author Commented:
I came accross an example which worked on all browsers, I then compared this code to mine and changed the way I passed the variables when calling the lib, to match the example here. success!
for ref:

using the library file:
 <script type="text/javascript" src=""></script>

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.