[Users] insert a map in a tree node

ivan marchesini ivan.marchesini at gmail.com
Wed Aug 19 10:42:37 CEST 2009


Hy Eric,
> 
> do you have features in action.response.features? if not it means
> something goes wrong when parsing the WFS response, possibly because
> of namespace issues or something.
> 

It seems that action.response.features is empty but I'm not sure...

what can I insert into

_______________________________________
		listeners: {
                         actioncomplete: function(form, action) {
			 	 var layer = new OpenLayers.Layer.Vector("query_result",
				 {isBaseLayer:false, visibility:true}, {styleMap: styleMap},
				 {projection: new OpenLayers.Projection("EPSG:900913")});                                 
				 var features = action.response.features;
				 alert("le features sono:", formPanel.render("formPanel"));
				 layer.addFeatures(features);
				 mappa.addLayer(layer);
                         }
                }
_______________________________________


to verify if "features" is empty???

thank you....  

Ivan






> 
-- 
Ti prego di cercare di non inviarmi files .dwg, .doc, .xls, .ppt.
Preferisco formati liberi.
Please try to avoid to send me .dwg, .doc, .xls, .ppt files.
I prefer free formats.
http://it.wikipedia.org/wiki/Formato_aperto
http://en.wikipedia.org/wiki/Open_format

Ivan Marchesini
Perugia (Italy)
Socio fondatore GFOSS "Geospatial Free and Open Source Software" http://www.gfoss.it
e-mail: marchesini at unipg.it
        ivan.marchesini at gmail.com
fax (home): +39(0)5782830887
jabber: geoivan73 at jabber.org
skype: geoivan73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
 firmata digitalmente
Url : http://www.geoext.org/pipermail/users/attachments/20090819/ba57aa5e/attachment.pgp 


More information about the Users mailing list