Hello,
I've created a wfs layer object from OpenLayers.Layer.Vector,
however when i call its getFeatureBy method and proceed on to fetch an
attribute, null
is returned, i.e

var feature = wfs_layer.getFeatureBy('CountyId', '12');
var name_ = feature.attributes.Name;

apparently Name is infact an attribute field as observed from
geoserver while 12 is a valid value.

have i made a mistake or getFeatureBy method doesnt work that way ?

Thanks.


-- 
Allan Oware
Upande LTD | www.upande.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to