It's just a quick thought but you should be able to use the preFeatureInsert or onFeatureInsert callbacks for that. In those methods you probably want to check for an attribute value. However, I don't really know how you can select the features. You'll probably have to deal with a SelectFeature control and call its select method.
Regards, Pierre On Nov 6, 2007 6:21 PM, mcarsel <[EMAIL PROTECTED]> wrote: > > Is there a way to programmatically select wfs features by attribute? I need > them to be inserted into the wfs.selectedFeatures array and highlighted in > blue. Will I need to draw new vectors on top of the existing myself, or can > OpenLayers handle this? > -- > View this message in context: > http://www.nabble.com/Programmatically-select-a-wfs-feature-by-attribute-tf4759691.html#a13611555 > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
