[OpenLayers-Users] Highlight features in WMS Layer

Phil Scadden p.scadden at gns.cri.nz
Mon Oct 8 15:01:22 PDT 2012


You can also look at using both wfsProtocol AND SLDSelect together. Let 
SLDSelect draw the selected features (especially good if the features 
are lines or polygon with very large no. of vertices) while you use 
wfsProtocol to fetch the attribute data only (ie use propertyNames to 
fetch back only the desired properties and especially dont specify Shape).

If you only wfsProtocol, then you need a drawing layer on your map. You 
clear the layer at the start of the response function, then layer.add 
the features from the wfs response.


Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.



More information about the Users mailing list