-
Notifications
You must be signed in to change notification settings - Fork 3
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
Difficult to select lines on iPhone #61
Comments
The lines haven't changed, and even the icon sizes are the same as before the recent change (commit f03a92d - the images themselves are the same size, there's just more transparent padding now). I agree that it's always been hard to click on the lines - unfortunately I don't know of an easy way to add transparent padding around them or otherwise increase the hittable area. |
Where do I file a bug for "my fingers have regressed"? Seriously, we should look into how leaflet handles hits and see if we can patch something there. It's not very usable right now. |
See methods in https://github.com/CloudMade/Leaflet/tree/master/src/layer/vector. There are SVG, Canvas, and VML (for IE) methods, and we need to know which one is used on which browser. canvas/Polyline_Canvas has at least some code for addressing it: "if (L.Browser.touch) { |
According to some vague documentation and commits, Canvas is default for Android < 3, but can be enabled anywhere. The drawing method affects all vector data (polylines, polygons, and circles). |
I have had increased trouble recently demoing TNM to people, in particular, it's difficult to select lines and stops. I feel like this is a regression; could the hit radius have decreased when the icons changed?
The text was updated successfully, but these errors were encountered: