Hi I am running a search and want to display the results using google
maps.
I am creating a KML file from a query. The KML file is fine and gets
displayed correctly on Google Earth. But google map api is not able to
cache the kml file at all.

The file has a random file name for each search so it is always a new
URL which should get reloaded on the google servers but that is not
happening.

Here is the link to the website.
http://livetexasmusicmap.com/mapapiakash.php

Here is the code I am using

geoXml = new GGeoXml("http://www.livetexasmusicmap.com/<?php echo
("$kmlName");?>.kml?rand=<?php echo(rand());?>");

Here is the page source on the browser.

 geoXml = new GGeoXml("http://www.livetexasmusicmap.com/KML/
187600546_20091124_100937.kml?rand=1389581394");

187600546 is a random number
20091124 is date
100937 is time

so the file name is different each time its run.

I can access the file directly and it is fine but google maps api is
not updating it.

Thanks,

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to