On Nov 24, 8:12 am, Akash <[email protected]> wrote:
> 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.

What do you mean by not updating it?

When I load your page above, I don't see any markers and the kml file
it references:

http://www.livetexasmusicmap.com/.kml?rand=486459649

Doesn't exist.

  -- Larry

>
> 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