Re: [OpenLayers-Users] kml refresh issue

2009-07-12 Thread Kris Geusebroek
[mailto:users-boun...@openlayers.org] On Behalf Of Adrian Popa Sent: Monday, July 13, 2009 7:58 AM To: Sajeer... Cc: Users@openlayers.org Subject: Re: [OpenLayers-Users] kml refresh issue One way to force KML to be refreshed is to add something dynamic to your query. For instance - a random

Re: [OpenLayers-Users] kml refresh issue

2009-07-12 Thread Adrian Popa
One way to force KML to be refreshed is to add something dynamic to your query. For instance - a random number as an argument to the server-side KML generator. A different way might be calling layer.refresh({force: true}); - but this might cause your page to do the query twice. It dependes on yo

Re: [OpenLayers-Users] kml refresh issue

2009-07-12 Thread Zac Spitzer
try adding a random number to the request url like &_r=random_number z On Mon, Jul 13, 2009 at 3:43 PM, Sajeer... wrote: > > Can anybody help me.. > > > Regards > > Sajeer T.K. > > > > On Sun, Jul 12, 2009 at 1:40 AM, Sajeer... wrote: >> >> Hi, >> >> I am using kml to display my search resu

Re: [OpenLayers-Users] kml refresh issue

2009-07-12 Thread Sajeer...
Can anybody help me.. Regards Sajeer T.K. On Sun, Jul 12, 2009 at 1:40 AM, Sajeer... wrote: > Hi, > > I am using kml to display my search result for POIs in a given range, it is > displaying fine. My problem is when i am doing another search, the result > kml getting updated but display

[OpenLayers-Users] kml refresh issue

2009-07-11 Thread Sajeer...
Hi, I am using kml to display my search result for POIs in a given range, it is displaying fine. My problem is when i am doing another search, the result kml getting updated but displaying old result (taking kml from browser cache because of the same file name). looking for your great help... R

[OpenLayers-Users] KML refresh

2009-05-04 Thread Peter Peterse
Hello, I'm trying to refresh my KML file in OL. There are two issues: * blinking when the new KML is loaded. * memory leak in IE. With blinking i mean. When I load the new KML the old KML is unloaded and will disapear, then the new KML is loaded and viewed. This look like the view is blinked. I'v