Yeah. It's not a kacache problem. It's the browser cache. I don't know if the redraw() method tells the browser that the images are new or not... but whatever javascript function there is for doing that should be called in the redraw() method.
<br><br>Let me know if you get it working!<br><br>Sam<br><br><br><br><div><span class="gmail_quote">On 11/11/07, <b class="gmail_sendername">Luca Casagrande</b> <<a href="mailto:luca.casagrande@gmail.com">luca.casagrande@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Sam,<br><br>the reload(true) didn't worked. :( I thought that setting the layer to
<br>NOCACHE and calling the layer.redraw() function just after the<br>successfully ajax calling for the new point, would be the right way.<br><br>Right now i realized that i should clear also the browser cache, so i<br>need more time to focus on this problem..
<br><br>Bye<br><br>Luca<br><br>Il giorno ven, 09/11/2007 alle 14.47 -0800, Samuel Hiatt ha scritto:<br>> I wonder if the 'refresh_interval' metadata tag would fix the problem.<br>> Probably not, because it is done on a timed interval... but you might
<br>> look into what property this tag sets to make the browser refresh the<br>> layer.<br>><br>> I just did a search for "force broswer refresh" and came up with some<br>> interesting stuff... looks like something like
<br>> thenewlayer.domObj.reload(true); might do the trick. I bet<br>> "refresh_interval" does a setTimeout to force a refresh at an<br>> interval.<br>><br>> Does this help you at all?<br>><br>
> Sam<br><br>--<br>"Chiunque puņ simpatizzare col dolore di un amico, ma solo un animo nobile<br>riesce a simpatizzare col successo di un amico." Oscar Wilde<br><br>Home Page: <a href="http://www.ominiverdi.org">
http://www.ominiverdi.org</a><br>Socio GFOSS "Geospatial Free and Open Source Software" <a href="http://www.gfoss.it">http://www.gfoss.it</a><br>Jabber: <a href="mailto:casagrande@jabber.linux.it">casagrande@jabber.linux.it
</a><br><br></blockquote></div><br>