Hi, Thanks for your reply. So how to do the following:
1) change the cache settings on your webserver for the XML1 subdir (tell the browser to never cache the file)? 2) append a random number to the url? Pls tell in details. Regards. Bart van den Eijnden (OSGIS)-2 wrote: > > Hi, > > you are probably running into browser cache. So either change the cache > settings on your webserver for the XML1 subdir (tell the browser to never > cache the file), or append a random number to the url. > > Best regards, > Bart > >> >> Dear Friends, >> >> I am having a query builder which allows an user to select one feature at >> a >> time. >> The geometry for this feature is then populated into a GML file format >> using >> another xml. >> So every time an user selects one feature the GML file is deleted and a >> new >> one created with the geometry of the new feature. >> >> Although GML file is created with every change in selection Openlayers is >> unable to load the changed GML and show it on the map. >> >> So openlayers is able to display the data from the GML for the first time >> only. So from second and subsequent selection it shows only the first >> feature on the map. >> >> The code is: >> >> map.addLayer(new OpenLayers.Layer.GML('choice_features', >> "XML1/FeatureGML.xml")); >> >> Is it a bug? >> If not how to tackle the problem. >> >> Thanks in advance. >> -- >> View this message in context: >> http://n2.nabble.com/Layer-from-GML-loading-only-for-the-first-time-tp3596382p3596382.html >> Sent from the OpenLayers Users mailing list archive at Nabble.com. >> _______________________________________________ >> Users mailing list >> Users@openlayers.org >> http://openlayers.org/mailman/listinfo/users >> > > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://n2.nabble.com/Layer-from-GML-loading-only-for-the-first-time-tp3596382p3596762.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users