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... <[email protected] <mailto:[email protected]>> 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:   [email protected] <mailto:[email protected]>


------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to