Wildhoney / Leaflet.FreeDraw

:earth_asia: FreeDraw allows the free-hand drawing of shapes on your Leaflet.js map layer – providing an intuitive and familiar UX for creating geospatial boundaries similar to Zoopla and others. Included out-of-the-box is the concaving of polygons, polygon merging and simplifying, as well as the ability to add edges and modify existing shapes.
https://freedraw.herokuapp.com/
MIT License
540 stars 102 forks source link

Free Draw stopped Working on Ipad With IOS 13 #161

Open pranavranadive opened 4 years ago

pranavranadive commented 4 years ago

Hi All,

We have been using this nice feature of drawing free shapes of FreeDraw library. But after updating the Ipads with IOS version 13. the freedraw has stopped working. Can we have any quick fix or any workaround to solve this issue?

Thanks, Pranav Ranadive

Wildhoney commented 4 years ago

Have you done any digging into what the issue might be?

anurag0486 commented 4 years ago

@wildhoney,

We are using this feature inside Salesforce app container. Unfortunately we are not seeing any logs being generated. If you can help us debug the issue and get to the root cause will also be very helpful.

Thanks Anurag Sharma

pranavranadive commented 4 years ago

@Wildhoney,

We have started debugging at java script in salesforce, and its been observed that Lat ,long co-ordinates are not returned from the library when user tries to draw any shape. Can you help us further where it is breaking in library or how to fix it?

Thanks, Pranav Ranadive

Wildhoney commented 4 years ago

I've found: https://github.com/Leaflet/Leaflet/issues/6817

People are suggesting to update Leaflet library and add tap: true when initialising the map.