radioman / greatmaps

GMap.NET - Great Maps for Windows Forms & Presentation
912 stars 408 forks source link

reimplement multi-touch method #104

Open bymindzz opened 6 years ago

bymindzz commented 6 years ago

English is not very good, the following is translated with google, if the usage or meaning a little problem, please be more tolerant. The multi-touch function in GMAP.NET.WindowsPresentation is a bit problematic. When using the single-touch function, the initial position of the second click is incorrect. The guess may be that the value in mousedown in Core.BeginDrag(mousedown) is (0,0) because the mouse click position is obtained, and now the initial position of touchdown is needed. I don't know how to use Manipulation to modify. So another touch event was used to complete the multi-touch.Until now,it looks like working well.