Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-12 Thread Alex Brandsen
Hi Phil, that might be a good way to solve this as well. I'll give it a go! Thanks, Alex. Date: Wed, 11 Aug 2010 10:07:01 +1200 From: Phil Scadden p.scad...@gns.cri.nz Subject: Re: [OpenLayers-Users] clickTolerance on selectFeature? To: users@openlayers.org Message-ID: 4c61cd85.2010

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-10 Thread Alex Brandsen
...@gmail.comwrote: Yeah, apparently.. Do you (or anyone else) know how to create a similar effect with selectFeature then? Alex. Date: Wed, 04 Aug 2010 11:02:01 -0400 From: Alexandre Dube ad...@mapgears.com Subject: Re: [OpenLayers-Users] clickTolerance on selectFeature? To: users

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-10 Thread Eric Lemoine
On Tue, Aug 10, 2010 at 1:40 PM, Alex Brandsen alex.brand...@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

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-10 Thread Alex Brandsen
On Tue, Aug 10, 2010 at 12:50 PM, Eric Lemoine eric.lemo...@camptocamp.comwrote: On Tue, Aug 10, 2010 at 1:40 PM, Alex Brandsen alex.brand...@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

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-10 Thread Eric Lemoine
On Tue, Aug 10, 2010 at 1:55 PM, Alex Brandsen alex.brand...@gmail.com wrote: On Tue, Aug 10, 2010 at 12:50 PM, Eric Lemoine eric.lemo...@camptocamp.com wrote: On Tue, Aug 10, 2010 at 1:40 PM, Alex Brandsen alex.brand...@gmail.com wrote: Hi all, I still haven't found a way to make

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-10 Thread Alex Brandsen
On Tue, Aug 10, 2010 at 1:45 PM, Eric Lemoine eric.lemo...@camptocamp.comwrote: On Tue, Aug 10, 2010 at 1:55 PM, Alex Brandsen alex.brand...@gmail.com wrote: On Tue, Aug 10, 2010 at 12:50 PM, Eric Lemoine eric.lemo...@camptocamp.com wrote: On Tue, Aug 10, 2010 at 1:40 PM, Alex

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-10 Thread Phil Scadden
I'm mainly dealing with polylines, but if that is the only way, then so be it. How can I perform buffer calculations? Buffering every line in your display to see if selected is very intensive. If you are struggling with accurate selection of lines, can I suggest an alternative approach? If

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-06 Thread Alex Brandsen
Yeah, apparently.. Do you (or anyone else) know how to create a similar effect with selectFeature then? Alex. Date: Wed, 04 Aug 2010 11:02:01 -0400 From: Alexandre Dube ad...@mapgears.com Subject: Re: [OpenLayers-Users] clickTolerance on selectFeature? To: users@openlayers.org Message-ID

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-04 Thread Alex Brandsen
altering the clickTolerance in openlayers.js, but that didn't do anything either. Thanks, Alex. Date: Tue, 03 Aug 2010 08:12:00 -0400 From: Alexandre Dube ad...@mapgears.com Subject: Re: [OpenLayers-Users] clickTolerance on selectFeature? To: users@openlayers.org Message-ID: 4c580790.3030

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-04 Thread Alexandre Dube
the correct value. I also tried altering the clickTolerance in openlayers.js, but that didn't do anything either. Thanks, Alex. Date: Tue, 03 Aug 2010 08:12:00 -0400 From: Alexandre Dube ad...@mapgears.com mailto:ad...@mapgears.com Subject: Re: [OpenLayers-Users] clickTolerance on selectFeature

Re: [OpenLayers-Users] clickTolerance on selectFeature?

2010-08-03 Thread Alexandre Dube
Hi Alex, 'clickTolerance' is a OpenLayers.Handler.Feature property. If you look in the Select.js file, you'll see that the handler is set inside the initialize method and that there is no way other than modifying the code there to set your own 'clickTolerance'. A thing you could do is to

[OpenLayers-Users] clickTolerance on selectFeature?

2010-08-02 Thread Alex Brandsen
Hi all, is it possible to set the clickTolerance on a selectFeature control? I can find the clickTolerance on the getFeature control : ( http://dev.openlayers.org/docs/files/OpenLayers/Control/GetFeature-js.html#OpenLayers.Control.GetFeature.clickTolerance ) but not in the documentation of