On 12 March 2011 18:52, Arnd Wippermann <[email protected]> wrote: > Your features lose not there style, but get deleted from your map. You see > the layer base. > > It seems, that this part > > onSelect: function(feature){ > select.addFeatures([feature]); > }, > onUnselect: function(feature){ > select.removeFeatures([feature]); > > deletes the unselected feature also from the wfs layer. You don't need the > functions. Try it without onSelect and onUnselect.
I thought I was adding the feature to a new layer (select). Ian -- Ian Turton _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
