Is there any way to receive a key-press event from the Google earth plugin. I saw that GEWindow has a click event for the mouse but I need to capture the key pressing in any form.

Thank you for your help.

有帮助吗?

解决方案

Unfortunately not, there is a five year old feature request for this functionality... https://code.google.com/p/earth-api-samples/issues/detail?id=53

There is a workaround discussed in the comments, but it is far from perfect.

Anyhow, if you 'star' the request then you should receive updates on its status (just don't hold your breath!)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top