I recently noticed a similar problem - with code that (Im almost certain) used to work.
Its possible its been broken since 2.7, but I think its more recent. Perhaps it was a change to IE7? I found that switching the base layer (in the layer switcher) caused the vector layer contents to magically appear. Eventually, I figured out that moving the redraw into a setTimeout fixes the issue (but I dont know why): layer.destroyFeatures(); layer.addFeatures(OpenLayers.Format.GeoJSON.prototype.read(req.responseText)); setTimeout(function() { layer.redraw() }, 0); Mark On Wed, May 6, 2009 at 8:35 PM, Felipe Alcacibar <falcaci...@gmail.com> wrote: > Hi, i have a local WMS base layer and a "dynamic" vector layer. To the > vector layer i > add features when i got the response of a spatial query, here is the example: _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev