[OpenLayers-Dev] WMSGetFeatureInfo issue
Denis Rykov
rykovd at gmail.com
Tue Nov 29 00:48:30 EST 2011
Hi OpenLayers dev team!
I have problem with WMSGetFeatureInfo control - e.features is undefined
under IE 9 in following code:
new OpenLayers.Control.WMSGetFeatureInfo({
autoActivate: true,
infoFormat: 'application/vnd.ogc.gml',
maxFeatures: 1000,
layers: [lay_herbary, lay_all_tao_oopt],
queryVisible: true,
eventListeners: {
'getfeatureinfo': function(e) {
alert(e.features.length); <- undefined in IE
}
....
This is screenshot of IE debugger:
http://img443.imageshack.us/img443/3158/wmsgetfeatureinfo.png
As you can see - type of e.features is IXMLDOMDocument2 but Array expected.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20111129/0fc21042/attachment.html
More information about the Dev
mailing list