Ciao a tutti ho un problema con OpenLayers in particolare con OpenLayers.Features.WFS, sto cercando di realizzare un'applicazione tipo questa [0], ricevendo le features tramite un wfs ma quando carico la pagina ho questo errore
parentnode.getElementsByTagName is not a function http://10.0.101.11/OpenLayers-2.8/OpenLayers.js Line 1111 serializeXMLToString()("ms:vend_avg", "http://www.opengis.net/gml", "gml", "Point")OpenLayers.js (line 1111) runChildNodes()("ms:vend_avg")OpenLayers.js (line 1127) processXMLNode()(Object EVENT_TYPES=[24] options=Object, "ms:vend_avg")OpenLayers.js (line 1126) Class()()OpenLayers.js (line 116) init()openlayers.html (line 57) onload(load )7tnQksP2...GPg%3D%3D (line 2) [Break on this error] if(readyState==4){var xml=transport.resp...lementsByTagName(nsprefix+':'+tagname);} se non metto OpenLayers.Features.WFS riesco a visualizzare tutto correttamente e l'xml restituito dal wfs lo potete vedere qui [1]; qui [2] invece potete trovare il codice che sto utilizzando grazie mille Luca [0] http://openlayers.org/dev/examples/vector-features-with-text.html [1] http://pastebin.com/m5e5351d2 [2] http://pastebin.com/m13d6d732 _______________________________________________ Iscriviti all'associazione GFOSS.it: http://www.gfoss.it/drupal/iscrizione [email protected] http://lists.faunalia.it/cgi-bin/mailman/listinfo/gfoss Questa e' una lista di discussione pubblica aperta a tutti. I messaggi di questa lista non rispecchiano necessariamente le posizioni dell'Associazione GFOSS.it.
