I want to use Google Earth in a desktop application.
My question is which one of these two APIs provided by google do you think has more functionality and/or best support?
Thank you very much
I want to use Google Earth in a desktop application.
My question is which one of these two APIs provided by google do you think has more functionality and/or best support?
Thank you very much
Google Earth API is a Javascript API for use with the Google Earth browser plug-in.
This API is currently much more developed and offers features not currently found in the Google Earth COM API, but it is limited to the Google Earth browser plug-in.
There are some neat examples here.
If you are building a web application, this is your choice.
Google Earth COM API can be used to get information from and send commands to Google Earth (the standalone application).
This API appears to be younger or at least there are very few examples available.
If you are building a desktop application, this is probably the natural choice. (I say probably because it is possible to embed a browser object of some variety in a desktop application and then implement the Google Earth browser plug-in.)
So it s more a matter of Web Application vs Not, rather than functionality.
I won t reiterate the good information ak1123578 gave. However the COM API is actually older than the JS API, and is on its way out. See here for some history and announcement: Sunset for the Google Earth COM API
Today we’re announcing that the Google Earth 5.2 client will be the last version that supports the COM API. Earth 5.2 and older clients will continue to support the COM API while these versions are supported. Future releases will no longer have COM API bindings. We believe that the JavaScript API provides the best mechanism for reaching the most developers.
Note that you may be able to use the JS API for a desktop app by embedding a web browser component in your app. See these two threads for some hints about that.
The Google Earth API has more features and support. Also, the COM api is now depreciated.
You could take a look at this control library I have put together that helps working with the Google Earth Plugin in managed code.
http://code.google.com/p/winforms-geplugin-control-library/
It makes extensive use of the C# type dynamic when accessing objects in the Google Earth API. Essentially this means that you can use the Earth Api in managed code just as if you where using JavaScript.
http://code.google.com/p/winforms-geplugin-control-library/wiki/ExampleForm
Problem is that only the COM API seems to support the offline-mode like GE Standalone App does. For the GE-API, you need to have a working internet-connection, which is not a suitable prerequisite for all situations.
The current application that I m working on is a Client - Server C# application and work very well on a network. Now I m thinking if it can run over the internet. The question is how to do this? How ...
What can I use as WYSIWYM editor for desktop application (preferably .NET/WinForms)? I need functions as paragraphs, headings 1, 2, 3, (un)ordered lists, strong and no other formating (restrictive). ...
I want to use Google Earth in a desktop application. My question is which one of these two APIs provided by google do you think has more functionality and/or best support? Thank you very much
Several sites, including this one, are using OpenID to authenticate their users. And of course, OpenID is a good solution to manage user accounts, simply by linking them to their OpenID account. But ...
I am starting to make my own apps and publishing them. The problem I face is that my apps are mainly for my purposes. What are some problems that you face while in windows? I need some desktop ...
I m working on an application we made WPF instead of Silverlight as we wanted a full blown desktop application with the whole unique feeling and advantages that gives. However, with the announcement ...
Possible Duplicates: What does WPF still have to offer over Silverlight 4? Why change from WPF to Silverlight 4 I m working on a WPF application. We considered using Silverlight instead of WPF, ...
Our application displays tons of valuable information to our users in a table. We have a filtering capablity that is based on boolean/logic searches. Even after coaching, users still tend to not ...