AW: [OpenLayers-Users] Re: one attribute from getFeatureInfo

vrbikdan vrbikdan at gmail.com
Thu Mar 22 06:16:13 EDT 2012


ok, now it's work, here is finally code: 

eventListeners: {
                getfeatureinfo: function(event) {
		       for (var i = 0; i < event.features.length; i++) {
                       var feature = event.features[i];
                       var attributes = feature.attributes;
		       document.getElementById('get').innerHTML = attributes.ZONA_AVON;
            }}}

thanks a lot for your help :)

Dan

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/one-attribute-from-getFeatureInfo-tp4636316p4644060.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list