Are you using the default style for your point features?

Check this example, http://openlayers.org/dev/examples/select-feature.html,
draw some points, select the radio button 'select feature (X features
selected)' and uncheck 'select features in a box', and compare it with your
code. It might help you

Best regards,

Xurxo Méndez Pérez

http://www.sonxurxo.com


2010/11/17 stash <[email protected]>

>
> hello,
>
> i have a map with a wms and a wfs (point features). further more i have a
> getfeature for the wfs. this works fine so far.
>
> but now i have one problem. i really have to aim very very good on a point
> feature of my wfs, so that the getfeature event will be started. In some
> cases,  that's a bit circuitous.
>
> Now my question. Is there something like a click toleranz or a clickradius
> which i can define for my getfeature request in openlayers. This
> clickradius
> should be something like a certain number of pixels. My target is, that my
> getfeature event will be started, even if i don't click at the center of my
> wfs points.
>
> Is this possible?
>
>
> (I already looked up in the documentation. There is a clicktoleranze
> parameter in the getfeature request but unfortunately this parameter is for
> something different (Tolerance for the BBOX query in pixels)).
>
> Best Regards
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/click-tolerance-for-getfeature-tp5748177p5748177.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to