Does Google Earth or Google Maps Support Multi Touch?
Could so开发者_运维问答meone give me some information about whether Google Earth or Google Maps supports Multi - Touch or not in Windows? Where can I find the relevant information from?
It would be a good idea to let us know if you're talking about the full desktop Google Earth (ie. with the COM API) or the thin client web based app.
That being said -- neither versions support touch events natively. Both applications are extremely "mouse heavy" and do virtually all interaction via the mouse. You basically have to map all the touch events to mouse events and go from there. This isn't exactly easy, and requires a lot of low level WinAPI programming -- so it might be easier to get some overlay that does the mouse translation for you.
I personally haven't used the wrapper that Kevin posted, but it looked interesting -- so that might work for you.
EDIT: Kevin's suggestion uses TUIO, which is a pretty popular way of going from touch --> mouse events. In my experience this doesn't do a very good job for Google Earth though, which relies on your typical "mouse down, mouse move, mouse up" patterns ---- this can be done in TUIO, but the actual gestures to get mouse down/move/up actions are clunky.
-- Dan
精彩评论