Hi all, <br><br>I have a wmsgetfeatureinfo control in my map. This is the code I use to make it:<br><br> infoControls = {<br> click: new OpenLayers.Control.WMSGetFeatureInfo({<br> url: '<a href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>', <br>
title: 'Identifica las features por click',<br> maxFeatures: 10,<br> layers: [Instancias, Servicios],<br> queryVisible: true<br> }),<br> hover: new OpenLayers.Control.WMSGetFeatureInfo({<br>
url: '<a href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>', <br> title: 'Identifica las features por hover',<br> layers: [Instancias, Servicios],<br>
hover: true,<br> handlerOptions: {'hover':{delay:500}},<br> maxFeatures: 10,<br> queryVisible: true<br> })<br><br>I register the event with:<br>
<br> for (var i in infoControls) { <br> infoControls[i].events.register("getfeatureinfo", this, showInfo);<br> map.addControl(infoControls[i]); <br> }<br><br>when I take the response in the showInfo method, I only can access to the text, not to the xml. He only have text, not features and is impossible for me format the response using a format.wmsgetfeatureinfo.<br>
<br>Thanks to all.<br><br><br clear="all"><br>-- <br># michogar<br># Analista Programador SIG<br># GNU/Linux Counter 462666<br><br>Una visión personal:<br><a href="http://michogar.blogspot.com">http://michogar.blogspot.com</a><br>
<br>El día a día: <br><a href="http://twitter.com/michogar">http://twitter.com/michogar</a><br><br><br>