[OpenLayers-Users] control.SelectFeature
Sarah Schuessler
sarah_flip at yahoo.de
Tue Apr 27 04:11:19 EDT 2010
Hi,
I think you cannot use a circle instead of a box. But you can change your code to do a GeFeature-request with a filter, so you can request your features around a circle area.
To question 1: I had same occurrence with the fast disappearing box- but I think that has to do with event and style for wfs layer (see my other post).
Hope that helped a little bit.
best regards
Sarah
________________________________
Von: sunny74 <sb.ray at hotmail.com>
An: users at openlayers.org
Gesendet: Dienstag, den 27. April 2010, 8:09:09 Uhr
Betreff: Re: [OpenLayers-Users] control.SelectFeature
Hi Sarah,
Thanks for your reply.
I tried using
http://dev.openlayers.org/releases/OpenLayers-2.9/examples/getfeature-wfs.html
http://dev.openlayers.org/releases/OpenLayers-2.9/examples/getfeature-wfs.html
but it doesn't work.
How ever when I create a WFS atop a WMS and then do getfeature on the WFS
layer I get the information about the features.
My problems are:
1) When I drag a mouse a box is created but it goes off as soon as I leave
it.I want a permanent layer over the position of selection.
2) I want to have a circle instead of a box for selection.
You can look at my code in my post,
http://osgeo-org.1803224.n2.nabble.com/WFS-GEtFeature-layer-not-showing-on-map-td4921150.html#a4921150
http://osgeo-org.1803224.n2.nabble.com/WFS-GEtFeature-layer-not-showing-on-map-td4921150.html#a4921150
Thanks again.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/control-SelectFeature-tp4930933p4966806.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100427/abe767c4/attachment.html
More information about the Users
mailing list