[OpenLayers-Users] problem with WFS GetFeature
pablo lopez
plablo09 at gmail.com
Wed Nov 25 11:31:38 EST 2009
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 <ahocevar at opengeo.org>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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091125/689934bb/attachment.html
More information about the Users
mailing list