[OpenLayers-Users] WFS + GWT
paweluz
paweluz at o2.pl
Thu Feb 25 03:25:01 EST 2010
Hi!
I have no idea what is going on but I can not create the simplest WFS layer
!!
My code:
WFSOptions wfsOptions = new WFSOptions();
WFSParams wfsParams =new WFSParams();// ERROR !!!!!!!
wfsParams.getJSObject().setProperty( "typename",
"topp:zielona_openstreets");
wfsLayer = new WFS( "wfs", " http://localhost:8080/geoserver/wfs?",
wfsParams , wfsOptions );
The suggestion is: Add argument to match WFSParams(JSObject)
So I made WFSParams wfsParams = new WFSParams(null); and it still error!!!
I do not get it. I was looking into this post...
https://sourceforge.net/mailarchive/forum.php?thread_name=a09537371002130236v74e345dqa190e107e3a2c2ed%40mail.gmail.com&forum_name=gwt-openlayers-users
...and in that case everything works
How come it works somewhere but not in my case?? Any ideas...
Regards,
Poul
--
View this message in context: http://n2.nabble.com/WFS-GWT-tp4631183p4631183.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list