[OpenLayers-Users] how to control the style of a WFS layer?
Nicola Zandonà
nick.zando at gmail.com
Thu Apr 1 12:39:57 EDT 2010
Hi all,
I have a WFS layer created with OpenLayers.Layer.WFS and I'd like to
control its style.
Looking at the docs OpenLayers.Layer.WFS doesn't have a styleMap
property.
How can i decide its style? this is my code snippet:
var secondLayer = new OpenLayers.Layer.WFS(second_layer,
"http://localhost:8080/geoserver/wfs?",
{typeName: 'topp:foo_example_source2',
maxfeatures: '20'});
Any help will be greatly appreciated!
tnx!
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100401/7ceefb5a/attachment.html
More information about the Users
mailing list