[OpenLayers-Users] Search radius for editing line strings

Sven Schroeter schroeter at netgis.de
Mon Jan 20 08:44:51 PST 2014


Hi
Maybe clickTolerance in the OpenLayers.Control.GetFeature ?
http://openspace.ordnancesurvey.co.uk/docs/4.0.0/files/OpenLayers/Control/Ge
tFeature-js.html

Sven



Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Jan
Hartmann
Gesendet: Samstag, 18. Januar 2014 12:04
An: openlayers-users at lists.osgeo.org
Betreff: [OpenLayers-Users] Search radius for editing line strings

I'm writing an application to edit linestrings. The problem is that you have
to point very accurately at a line to select it. Is there a way to enlarge
the search radius around the lines, so one can click somewhere in the
neighbourhoud and yet get it selected?

Jan 




More information about the Users mailing list