Hi,
I changed code to this:

eventListeners: {
                getfeatureinfo: function(event) {
                       for (var i = 0; i < e.features.length; i++) {
                       var feature = e.features[i];
                       var attributes = feature.attributes;
            }}}

but console writes "Cannot read property 'length' of undefined" :(

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/one-attribute-from-getFeatureInfo-tp4636316p4644002.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to