[OpenLayers-Users] clickTolerance on selectFeature?

Eric Lemoine eric.lemoine at camptocamp.com
Tue Aug 10 07:50:53 EDT 2010


On Tue, Aug 10, 2010 at 1:40 PM, Alex Brandsen <alex.brandsen at gmail.com> wrote:
> Hi all,
>
> I still haven't found a way to make this work, does anyone have any
> suggestions?
>
> To rephrase: I need some way to select a feature when a click occurs on, or
> in the area around the feature, for example 20 pixels.

To my knowledge there's no way to do that with one feature. However
you could do that with two features, the one below the real feature
would be invisible.



-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list