-
Notifications
You must be signed in to change notification settings - Fork 1
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
In mobile not work #1
Comments
Hi, leaflet-freedraw unfortunately doesn't seem to support mobile drawings (tested on iOS using this demo). I advise opening an issue with leaflet-freedraw for mobile support. I'm just wrapping around Wildhoney's code in a vue2-leaflet compatible manner. |
I personally would advise disabling the vue component (I think a v-if would work, another way is setting the mode to NONE or 0) if you detect you're in a mobile environment. But right now the underlying "drawing capture" isn't handling touch events it seems. |
Hi @Esurnir , thanks for the answer. After I sent here I went to xxxx and saw that there were already several similar reports
I'm doing it, if it's in mobile disabled the drawing Jose |
Have you tried "tap: true" as a leaflet map option when mobile ? Something I found while googling. I believe you can pass the option as a :options="mapOptions" with map options an object containing that. Or something similar. |
Hello
First of all, thank you very much for your work .
I am using this component in a project, it works fine on desktop, but I can not draw on mobile devices or in the desktop browser using mobile mode.
It has happened to you or is something that I am doing wrong
Jose
The text was updated successfully, but these errors were encountered: