[OpenLayers-Users] Selecting LineString features at any point on the line?

Nick Whitelegg nick at hogweed.org
Thu Apr 5 04:14:24 EDT 2007


On Thursday 05 Apr 2007 09:11, Nick Whitelegg wrote:
> On Thursday 05 Apr 2007 00:37, you wrote:
> > On Thu, Apr 05, 2007 at 12:23:28AM +0100, Nick Whitelegg wrote:
> > > Experimenting with the new vector stuff. What would be good is to be
> > > able to select a LineStriing by clicking on any part of the LineString
> > > - not just the points. Is this possible?
> >
> > As far as I can tell, that is currently the case. You're using trunk and
> > don't see it that way?
> >
> > Regards,
>
> Yes - see
>
> http://www.free-map.org.uk/vector/
>
> This fetches OpenStreetMap data and renders it in a vector layer. You can
> only click on the LineStrings at the points.

Oops - my mistake; I've found that you can select LineStrings at any point, 
but you have to be *spot on* the centre so there's a good chance it won't 
happen. Time to make mine a bit wider I think :-)

Nick



More information about the Users mailing list