[OpenLayers-Users] kml refresh issue
Kris Geusebroek
kgeusebroek at xebia.com
Mon Jul 13 02:10:28 EDT 2009
Hi,
I had the same issue with a vector layer and the WFS protocol.
I created a ticket for that
http://trac.openlayers.org/ticket/2177
and attached a path and a uuid generator class to this ticket.
Might be of value to you too.
Cheers Kris
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] On Behalf Of Adrian Popa
Sent: Monday, July 13, 2009 7:58 AM
To: Sajeer...
Cc: Users at 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 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 your code
Sajeer... wrote:
Can anybody help me......
Regards
Sajeer T.K.
On Sun, Jul 12, 2009 at 1:40 AM, Sajeer... <sajeertk15 at gmail.com> 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 displaying old result (taking kml from browser cache because of the same file name).
looking for your great help...
Regards
Sajeer T.K.
Mobile: +966-560362982
Email: sajeertk15 at gmail.com
________________________________
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090713/c7107033/attachment.html
More information about the Users
mailing list