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

Does not work on mobile devices #114

Open
GogusMaximus opened this issue Mar 1, 2024 · 5 comments
Open

Does not work on mobile devices #114

GogusMaximus opened this issue Mar 1, 2024 · 5 comments

Comments

@GogusMaximus
Copy link

Thank you to the creators of this package, this is an incredible feature. It would be absolutely perfect if I could use this on mobile devices. I want the ability to drag and rotate a polygon on mobile. Has anyone been able to achieve this?

The other package, Leaflet path drag, works on mobile but unfortunately not this package. I don't think it is something I am doing wrong, since it looks like the demo site also doesn't work on mobile: https://milevski.co/Leaflet.Path.Transform/example/

Tested on chrome / firefox dev tools and on my iPhone.

@w8r
Copy link
Owner

w8r commented Mar 2, 2024 via email

@GogusMaximus
Copy link
Author

@w8r you are a legend. Thank you, and let me know if I can help in any way. Do you have any ideas on why this is caused?

@w8r
Copy link
Owner

w8r commented Mar 2, 2024

@GogusMaximus
Copy link
Author

@w8r I've forked this repo and played around with those event handlers using "touchstart" but I'm not having any luck fixing this issue. Looks like the leaflet-path-drag might have more logic for mobile/touch devices?

@utassydv
Copy link

utassydv commented Sep 4, 2024

I have the same issue, do you guys have maybe any update on this one? @GogusMaximus @w8r

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

3 participants