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:
"Error: OpenLayers.Control.WMSGetFeatureInfo is not a constructor Archivo de origen: http://localhost:8080/geoserver/.... Línea: 159" The code is the same that in examples, with my layers and server: infoControls = { click: new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://localhost:8080/geoserver/wms', title: 'Identify features by clicking', layers: [Instancias], queryVisible: true }), hover : new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://localhost:8080/geoserver/wms', title: 'Identify features by clicking', layers: [Instancias], hover: true, // defining a custom format options here formatOptions: { typeName: 'instancias', featureNS: 'http://www.openplans.org/topp' }, queryVisible: true }) } Do you know what happens??. Thanks. -- # michogar # Analista Programador SIG # GNU/Linux Counter 462666 Una visión personal: http://michogar.blogspot.com El dia a dia: http://twitter.com/michogar
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
