Earth View in Google Maps

google-maps, google-maps-api-3

Solution

The earth-view is not available in the Maps-Javascript-API-V3, you'll need to implement it on your own by using the Earth-API.

Basically you'll need to use 2 containers, 1 for the map and 1 for the earth. When you want to switch between map and earth you must toogle the visibility of the containers.

When you don't want to reinvent the wheel you may use this library: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/docs/reference.html

Problem

I am using the latest maps API and I was wondering how, if at all possible, can I enable the earth view for my map? What I'm looking for is the following result: ...and after clicking the bottom left element 'Earth':

Original source