08 December 2006

Google Earth API

Google Earth API

Google Earth

Not much on this to date but looks promising...

The Google Earth COM API is designed to let third party applications query information from and send commands to the Google Earth software. Through IApplicationGE, external applications can query the current viewport, control the 3D camera, enable, disable, load KML features, traverse features, and more.

Interfacing a 3rd party application with Google Earth through the COM API requires Google Earth to be installed on the machine where one intends to run it. The Google Earth COM interface is registered as part of the installation process.

If, for some reason, the Google Earth COM API needs to be registered again, you can execute GoogleEarth.exe with "/RegServer" as a command line argument.
For instance, assuming GoogleEarth.exe is located in C:\Program Files\Google\Google Earth, the following command line would register Google Earth's COM API:

"C:\Program Files\Google\Google Earth\googleearth.exe" /RegServer

To unregister Google Earth's COM API, execute the following command:

"C:\Program Files\Google\Google Earth\googleearth.exe" /UnregServer

Labels: , ,


Post a Comment

Links to this post:

Create a Link

<< Home