[OpenLayers-Users] Problem with GetFeature Control

Charles Galpin cgalpin at lhsw.com
Fri Feb 11 07:20:36 EST 2011


What does firebug show? You should be able to look at the response and verify both the request looks good and the response returned features.

Oh, I use featurePrefix too, so try that as well.

hth
charles

On Feb 11, 2011, at 2:07 AM, Julio Vega wrote:

> Hi I want to use the GetFeature control in a fresh mapfish app. I have configured the protocol of the control, and added a WMS as a simple base layer with the same projection and displayprojection ("EPSG;4326"). I use geoserver.
> 
> With firebug I have seen that the control does the WFS POST request to geoserver, and geoserver gives back the gml document (I think then the proxy is not the problem because I can get the geographical features, I put the application inside geoserver folder in apache), the problem comes with the featuresselected event because I have put into the event an alert and it doesn't show, I paste the code here, for any further reference. (I get it from the official mapfish documentation). What could be wrong?.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110211/e32e9b5f/attachment.html


More information about the Users mailing list