[OpenLayers-Users] Re: one attribute from getFeatureInfo

vrbikdan vrbikdan at gmail.com
Thu Mar 22 04:35:49 EDT 2012


Hi,
maybe a little bit progress. I changed info format to INFO_FORMAT:
'application/vnd.ogc.gml' and now my getfeatureinfo give mi back a gml. But
I can't extract single attribte from it. I think, that problem is somewhere
in eventlisteners here:

eventListeners: {
                getfeatureinfo: function(event) {
                    document.getElementById('get').innerHTML = event.text;
            }}

because this write plain text without any gml tags. But I'm beginner in OL
and JavaScript so I can't figure it out, what I should write into
eventListeners to extract single one attribute.

Dan

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


More information about the Users mailing list