Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to implement line drawing fix in Leaflet draw? #1036

Open
vincedchart opened this issue Feb 20, 2022 · 0 comments
Open

Where to implement line drawing fix in Leaflet draw? #1036

vincedchart opened this issue Feb 20, 2022 · 0 comments

Comments

@vincedchart
Copy link

Hi, I would like to fix my Leaflet draw to draw lines with touch,

where can I write this line ?
Is it possible to add it in https://mappingforyou.eu/javascript/leaflet.draw-src.js and where ?

Fix:

  L.Draw.Polyline.prototype._onTouch = L.Util.falseFn;

Note:
Make sure that L.Map.Tap handler is not enabled.

Originally posted by @johnd0e in #935 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant