Open vincedchart opened 2 years ago
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.
L.Map.Tap
Originally posted by @johnd0e in https://github.com/Leaflet/Leaflet.draw/issues/935#issuecomment-577151194
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:
Note: Make sure that
L.Map.Tap
handler is not enabled.Originally posted by @johnd0e in https://github.com/Leaflet/Leaflet.draw/issues/935#issuecomment-577151194