This website requires JavaScript.
Explore
Help
Sign In
ashatora
/
openlayers
Watch
1
Star
0
Fork
0
You've already forked openlayers
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Files
9d6ce21109337a7e4aff96fa10d2f85d3e0d3485
openlayers
/
lib
/
OpenLayers
/
Handler
/
Path.js
Andrew Vardeman
7ff0247b00
Account for the fact that touch devices have no mouse and therefore no last mouse position. When "undo" is invoked in a mobile app, sync the meaningless last-mouse-position point to the last point in the digitized linestring so there is visible feedback that something has been undone. Otherwise the last-mouse-position point is left at the point of the last tap on the map, which is unfortunately the location of the vertex that has just been undone, incorrectly implying that the vertex is still there.
2013-04-04 11:03:13 -05:00
17 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink