Open TransitScreen opened 12 years ago
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) { w += 10; // polyline click tolerance on touch devices }"
According to some vague documentation and commits,
Canvas is default for Android < 3, but can be enabled anywhere. VML is for IE 6-8. SVG is default otherwise.
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?