I'm searching for a better way for this : I have several maps to display so I use a GPX file per map of course and also one HTML file per map; the HTML file invokes a .js routine which displays the GPX in google Maps.
The "issue" is that all these HTML files are identical except the name of the GPX file they call i.e.
Index
<a href="Itineraires/1.html">GPX</a>
<a href="Itineraires/2.html">GPX</a>
<a href="Itineraires/3.html">GPX</a>
1.html calls LoadGPXFileIntoGoogleMap(MyMap, "1.GPX")
2.html calls LoadGPXFileIntoGoogleMap(MyMap, "2.GPX")
...
My question : how can I invoque an unique HTML file passing to it the GPX file URL as parameter ?
Thanks a lot in advance