[OpenLayers-Users] Enumerating Features in a WFS Layer and WFS Styling

Bill Thoen bthoen at gisnet.com
Tue Sep 2 19:13:45 EDT 2008


I've got a couple questions about WFS layers:

After I load features into a WFS layer, how do I access them via js 
code? I thought these would be in the layer.features array, but even 
though there are features in the layer, the features array is empty.

Second, how do I style WFS features? The default style for linear 
features appears to be solid 1px orange, but I want to apply some 
different styles.

TIA,
- Bill Thoen




More information about the Users mailing list