-
Notifications
You must be signed in to change notification settings - Fork 997
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
Touch support #285
Touch support #285
Conversation
@michaelguild13 Just so you know, your patch is full of tab characters. Leaflet.draw uses spaces. |
As far as I can tell, the src code was already full of tabs...Otherwise my I tend to reframe from tab characters in general. Long story short, I'll On Tue, Apr 8, 2014 at 3:38 PM, Alexander Staubo
Michael Guild |
My apologies, it's the opposite — Leaflet uses tabs, you're using spaces. While tabs are evil, the only thing more evil than tabs is to mix spaces and tabs. |
No worries dood. I am just happy people are reviewing my code :). On Tue, Apr 8, 2014 at 4:07 PM, Alexander Staubo
Michael Guild |
Sure. One comment: Rather than duplicating the hooking logic from |
ha, not a bad idea...LOL why didn't I think of that. haha, I'll do that On Tue, Apr 8, 2014 at 4:13 PM, Alexander Staubo
Michael Guild |
So the last thing that I am working on is getting the edit for rectangles to work and adding in extra buttons to help the user experience for touch. After that, I will be implementing some new tools.
|
@michaelguild13 have you had any insight in the mobile IE issues @baysoft raised above? I've setup a vanilla implementation using your michaelguild13/Leaflet.draw fork but the map isn't working on Nokia Lumia 930 (8.1), or MS Surface. I haven't had much experience debugging IE on mobile so don't have any more details sorry! |
I can try checking it out this weekend. Chances are, it's something simple On Tue, Jun 9, 2015 at 1:25 AM, Ben Manu [email protected] wrote:
Michael Guild |
@michaelguild13 I've narrowed this issue down a bit further but my lack of js touchevent knowledge is holding me back. The issue looks to be in the |
Yeah, that might be it. Also, this repo doesn't contain the latest from On Wed, Jun 17, 2015 at 11:42 PM, Ben Manu [email protected] wrote:
Michael Guild |
* Update `removeHooks` to remove the correct events which are added during `addHooks`. Specifically `mouseup` and `zoomlevelschange` were still registered on the map, resulting in errors when the associated event handlers were called. * Update event handler name. The `zoomlevelchange` handler was updated to reflect the actual event being handled. * Update distribution files.
Remove correct events from Draw.Polyline
Does now master branch support touch like in michaelguild13/Leaflet.draw fork? |
@michaelguild13 My problems with Internet Explorer 11 is disappear when I'm using Microsoft Edge.(Windows 10), but it still exist while using Microsoft Edge on Windows Phone 10 (Insider Preview build 10.166). Just want you to know, thank you ... |
@baysoft That sounds very similar to Leaflet/Leaflet#3674. I suggest you try using code from the |
@michaelguild13 @fligler this is included in my most recent PR (which includes fixes and a few other PR's) for a 0.2.5 release. Maybe I should move it to 0.3 :/ It's a big change to the library. |
@ddproxy go for it. I haven't really been watching this repo. |
fix hook marker not move in Cicle Edit
remove click handler when disabling L.Draw.Marker
Added touch support for all tools.