Thanks Andreas, I've just tried your suggestion and it didn't work. I'm now taking a look at the gml returned by mapserver to see if I need to specify more parameters. On the other hand, I was looking at the highlight feature code in http://trac.openlayers.org/wiki/Highlighting, and I wonder if there is a way to control the highlighting with mouse clicks instead of filters. Any suggestions on this? Regards, Pablo
On Wed, Nov 25, 2009 at 1:31 AM, Andreas Hocevar <[email protected]>wrote: > Hi, > > can you please try the following and report back if it works: > > > pablo lopez wrote: > >> control = new OpenLayers.Control.GetFeature({ >> protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer), >> > > Instead, use > > protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer, { > featurePrefix: "feature" > }), > > That's the only idea I have. > > Regards, > Andreas. > > -- > Andreas Hocevar > OpenGeo - http://opengeo.org/ > Expert service straight from the developers. > >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
