Hi all, I am working with the Openlayers Feature Info example, I copy the example's code but dont work on my app, get this error:<br><br>"Error: OpenLayers.Control.WMSGetFeatureInfo is not a constructor<br>Archivo de origen: <a href="http://localhost:8080/geoserver/..">http://localhost:8080/geoserver/..</a>..<br>
Línea: 159"<br><br>The code is the same that in examples, with my layers and server:<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: 'Identify features by clicking',<br> layers: [Instancias],<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: 'Identify features by clicking',<br> layers: [Instancias],<br>
hover: true,<br> // defining a custom format options here<br> formatOptions: {<br> typeName: 'instancias', <br> featureNS: '<a href="http://www.openplans.org/topp">http://www.openplans.org/topp</a>'<br>
},<br> queryVisible: true<br> })<br> }<br clear="all"><br>Do you know what happens??.<br><br><br>Thanks.<br><br><br><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 dia a dia: <br><a href="http://twitter.com/michogar">http://twitter.com/michogar</a><br><br><br>