You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tmcw Curious what you think about having wax do a little more to help fire touch events. Maps with small hot spots, like with markers that are only a few pixels wide, are very difficult to hit on hi res touch displays. Seems like this is because touch events just return a single coordinate, yet its its hard to match that coordinate up with a small hot spot.
What do you think about something like a touch buffer of 10 or so px where wax will look within this buffer and hit a nearest neighbor hot spot to the touch coordinate.
Is this something we should fix at the Wax level? Like these maps sound like they'll be suboptimal anyway, and if a project like Modest Maps takes the MapBox Streets approach to Retina tiles (halves them to 128 if the ratio is 2x) then non-optimized interaction layers would be upsampled and still be fine.
@tmcw Curious what you think about having wax do a little more to help fire touch events. Maps with small hot spots, like with markers that are only a few pixels wide, are very difficult to hit on hi res touch displays. Seems like this is because touch events just return a single coordinate, yet its its hard to match that coordinate up with a small hot spot.
What do you think about something like a touch buffer of 10 or so px where wax will look within this buffer and hit a nearest neighbor hot spot to the touch coordinate.
cc @yhahn
The text was updated successfully, but these errors were encountered: