Mini-Google Earth application demo: imagery switcher

The Google Earth API is expected to be shut down at some point in the near future. As of this writing it is still working. We have been investigating what alternatives exist for those wishing to create applications that work with Google Earth. If you just wish to control the view in Google Earth then one possibility is via the Liquid Galaxy protocol. For more advanced applications it may be possible to take advantage of the fact that Google Earth has a built-in browser used to render its popups. We already demonstrated a mini-application that shows a Google Map in a popup and had a look at a more advanced application, OpenForis, that makes great use of popups.

Today we are taking our investigation a step further to see what can be done with popups in conjunction with network links. Very often when we are looking through historical imagery we wish to switch back and forth between two dates to compare the imagery. We have in the past created applications to animate historical imagery using the Google Earth API and also via Google Earth Tours created with JavaScript. We thought it might be useful to be able to do something similar from within Google Earth.

To try it out download this KML file. Switch to historical imagery and find an interesting location. You should see a popop at the bottom left of the screen. First check the Google Earth timeline toolbar to see what dates are available and choose two dates that you are interested in. Enter the two dates in the popup as well as the altitude in km. Use the same date format as shown on the timeline toolbar. For best results you can use the ‘eye altitude’ shown at the bottom right corner in Google Earth. Click the ‘Update’ button.

Next, move the view slightly, which will cause the network link to refresh. You should now see a tour in the network link. Play the tour. For best results set the tour to repeat .

Let us know in the comments if you encounter any bugs.

Our next task will be to work out how to estimate the correct eye altitude given a particular set of view coordinates.

About Timothy Whitehead

Timothy has been using Google Earth since 2004 when it was still called Keyhole before it was renamed Google Earth in 2005 and has been a huge fan ever since. He is a programmer working for Red Wing Aerobatx and lives in Cape Town, South Africa.






PLEASE NOTE: Google Earth Blog is no longer writing regular posts. As a result, we are not accepting new comments or questions about Google Earth. If you have a question, use the official Google Earth and Maps Forums or the Google Earth Community Forums.

Comments

  1. Where New Imagery Update? The new imagery from 11.01.2016 in Google Earth, find your city. But in Ukraine or Russia not have new imagery.

  2. how can i save image gotten from google earth?

  3. Frank Smirke says:

    I am trying to update the Google imagery on my tablet to the latest possible date, i.e. 2015. How do I do this.



PLEASE NOTE: Google Earth Blog is no longer writing regular posts. As a result, we are not accepting new comments or questions about Google Earth. If you have a question, use the official Google Earth and Maps Forums or the Google Earth Community Forums.