By now, many of you have heard about the new Google Earth API that we announced Wednesday during Google I/O. It's exciting that you can now enjoy the 3D Google Earth experience in the browser, and you can create your own custom interactive apps on top of it. This new API lets you use JavaScript to programmatically interact with the Earth browser, changing camera views, loading KML or 3D models, or even creating KML objects from scratch.
And, if you're already a Google Maps API developer, adding Google Earth to your mashup is really easy. Just add the following line:
map.addMapType(G_SATELLITE_3D_MAP);
To view apps written in the Earth API, you will have to download a browser plug-in. Currently, the plug-in is Windows only, and works on Mozilla and Internet Explorer based browsers, including Firefox. We are working to expand the number of browsers, and have announced Mac and Linux plug-ins will be released in August.
Check out the cool sample apps. If you have any questions or come across any problems, post them in our Earth API developer group.