camptocamp / cgxp

22 stars 22 forks source link

Add a click tolerance in the editing plugin #1090

Closed kalbermattenm closed 8 years ago

kalbermattenm commented 8 years ago

When editing a layer of points, it is not easy to select an existing one, as the used tolerance is OpenLayers default one (5 pixels).

This PR enables the integrator to specify a larger click tolerance on the map, if needed.

Please review

kalbermattenm commented 8 years ago

Wait... this is not working... I am using an option outside of the plugin in which it is defined... no way this is going to work...

kalbermattenm commented 8 years ago

This is better.... Please review...

sbrunner commented 8 years ago

Thanks :-)

kalbermattenm commented 8 years ago

Thanks a lot @sbrunner