Commit Graph

11 Commits

Author SHA1 Message Date
Quincy Morgan
5a8f573889 Continue zoom/pan of map when a down pointer moves off the map (re: #5505)
Fix possibly #6745
2020-05-08 15:30:38 -07:00
Quincy Morgan
509ee8fe65 Import function from module instead of file 2020-05-08 15:03:03 -07:00
Quincy Morgan
d16aa01afd Fix occasional console error 2020-04-02 12:40:41 -07:00
Quincy Morgan
5195d8d95b Don't use d3_mouse and cache client rect values as needed (close #7489) 2020-03-28 16:32:38 -07:00
Quincy Morgan
70380880db Properly end the gesture if unexpectedly moving a non-down pointer 2020-03-10 12:17:25 -07:00
Quincy Morgan
284ff28961 Fix issue where map could pan when moving the mouse without a down pointer 2020-03-10 11:52:48 -07:00
Quincy Morgan
8dcb50579f Replace D3 import of trivial function 2020-03-10 10:48:27 -07:00
Quincy Morgan
5d8600ff36 Remove unused zoom/pan functionality 2020-03-10 10:34:25 -07:00
Quincy Morgan
d6b723b869 Remove unused zoom/pan handler property 2020-03-09 13:12:55 -07:00
Quincy Morgan
f8f69a777a Replace inconsistently-supported dblclick events with custom handler on platforms supporting pointer events
Fix issue where double-tap-to-zoom would not be properly disabled when drawing on touch devices (close #2128)
Support adding nodes to ways with double-tap with on touch devices (close #2677)
Support double-tap-to-zoom with styluses on touch devices
Don't accept double click/tap events if the taps are far apart
Don't re-enter modeSelect when clicking the selected feature again
2020-03-06 12:46:26 -08:00
Quincy Morgan
1147438d12 Use pointer events for map zooming and panning where supported (close #6598, re: #5505) 2020-03-05 10:38:30 -08:00