Google Earth API

Google Earth
The Google Earth API is a JavaScript library that allows developers to add Earth plug-in objects to their sites. The API also provides programmatic access to the plug-in objects and the features inside of them. Web site developers can use the API to facilitate interaction between standard HTML elements and Earth plug-in instances. Using the API you can draw markers and lines, drape images over the terrain, add 3D models, or load KML files, allowing you to build sophisticated 3D map applications. If you have an existing Maps API site, you can 3D-enable your page with as little as one line of code.