I am using a VE map in an asp.net application to allow users to display data that they can filter through selecting rows in dropdownboxes. When they have set the filters I create a GeoRSS-file and import it into the map with
map.ImportShape LayerData(veLay erSpec, onFeedLoad,true );
veLayerSpec points to the GeoRSS-file.
My problem is that it works OK the first time but when I do a new selection and create the GeoRSS-file, I can verify that it contains the new data but when I click the import-button it continues to show the previous result. I have traced the javascript function and it obviously works but somehow gets the old data in.
Is there som kind of caching happening here or is there another answer?
I have tested with a button that deletes all layers on the map and then reload the new GeoRSS-file but the old contents shows up again even though I have opended and verified that the file itself conains new data
Btw the dropdownboxes and buttons are inside a update-panel to minimize postbacks.
Gunnar
map.ImportShape LayerData(veLay erSpec, onFeedLoad,true );
veLayerSpec points to the GeoRSS-file.
My problem is that it works OK the first time but when I do a new selection and create the GeoRSS-file, I can verify that it contains the new data but when I click the import-button it continues to show the previous result. I have traced the javascript function and it obviously works but somehow gets the old data in.
Is there som kind of caching happening here or is there another answer?
I have tested with a button that deletes all layers on the map and then reload the new GeoRSS-file but the old contents shows up again even though I have opended and verified that the file itself conains new data
Btw the dropdownboxes and buttons are inside a update-panel to minimize postbacks.
Gunnar
Comment