Google Earth api javascript control

I have an HTML file in which the camera flies from space to the street, and I only need to move forward, in a random direction, to the next street view and keep moving. Just like holding the up arrow. Does anyone know how to do this, please? Thank you very much!

+4
source share
1 answer

I donโ€™t think itโ€™s possible, Google Earth Api (today) does not provide any methods for controlling the street view mode that enables / disables. All movements are carried out through user input, not program control.

However, it can just be mixed by simulating keystrokes using something like jQuery.

Is it possible to programmatically simulate keypress events?

0
source

Source: https://habr.com/ru/post/1382711/


All Articles