Dear All,
1) How can I set extractAttributes to true in WFS GetFeature Example to get
access to feature attributes?
I tried with OpenLayers.Protocol.WFS but without success.
2) Is it a right way to access attributes?:
control.events.register("featureselected", this, function(e) {
select.addFeatures([e.feature]);
var feats = e.layer.features; // This is the Layer.Vector
for(item in feats) {
atts = item.attributes;
alert(atts.first);
}
OR
for(i = 0; i < feats.length; i++) {
alert(feats[i].attributes.first);
}
});
WFS GetFeature Example I am customizing is on:
http://hboard.iwk.uni-karlsruhe.de:8080/QuickStartWicket-1.0-SNAPSHOT/qswicket/?wicket:bookmarkablePage=:wicketqs.GetFeatureWfs
Any help would be highly appreciated
Alex
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users