On Dec 23, 11:01 am, Tremblay <[email protected]> wrote:
> here is a link without the map:

What use is a page without the map?

>
> http://jftremblay.net/test.php
> when i make a change to the kml and i ask a reload of the page it show
> the old one.

I get javascript errors on that page in IE6.  Firefox is not happy
with your character encoding.  What browser are you using to test it?

Your html is invalid (probably not the problem, but certainly doesn't
help...):
http://validator.w3.org/check?uri=http%3A%2F%2Fjftremblay.net%2Ftest.php&charset=%28detect+automatically%29&doctype=Inline&group=0

  -- Larry


>
> On 23 déc, 13:42, "[email protected]" <[email protected]> wrote:
>
>
>
> > On Dec 23, 10:31 am, Tremblay <[email protected]> wrote:
>
> > > I have searched all over the Internet for a solution to my problem. I
> > > have a kml that is constantly updated...it's a network monitoring, so
> > > we constantly update the kml.
> > > Let's say i open the kml 100 times a day. The function who loads the
> > > kml, instead of showing the fresh one, loads from the cache (I suppose
> > > that theory) an old version.
>
> > > Assume the following code:
> > > ///////////////////////////////////////////////////////////////////////////­­///////
> > >       // Load kml file in ram
> > >       function load_kml(kml){
> > >       kml = kml + "?"+(new Date()).getDate();
> > >       alert(kml);
> > >         geoXml = new GGeoXml(kml);
> > >       }
> > > load_kml("http://jftremblay.net/google/google.kml";);////////////////////////////////////////////////////////////////////////­­////////////
>
> > > Barry Hunter said in another post that if I add a querystring to my
> > > request (in this case a getdate function), a fresh kml will be loaded
>
> > That works for me.
>
> > > but, in this case, even when I push Ctrl+F5 to make a fresh page load,
> > > it doen`t work.
>
> > > Any idea???
>
> > Follow the posting guidelines and post a link to your 
> > map?http://groups.google.com/group/google-maps-api/web/suggested-posting-...
>
> > and:http://groups.google.com/group/Google-Maps-API/web/why-including-a-li...
>
> >   -- Larry- Hide quoted text -
>
> - Show quoted text -

--

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