Select to view content in your preferred language

ArcGIS Explorer COM Interface

2679
4
04-08-2010 06:35 AM
thomaslepkowski
Emerging Contributor
Hello,

I would like to launch AGX and load a KML or shapefile or anything supported from within another process using COM.  For a java example, this is easy using Google Earth and com4j. 
Here are the "api" docs: http://earth.google.com/comapi

My question is, where are the equivalent docs for AGX and where is this type of functionality discussed?

Thanks
0 Kudos
4 Replies
ShellyGill2
Regular Contributor
Hi,

If you want to programmatically customize ArcGIS Explorer, you can download the free SDK from:
http://resources.esri.com/arcgisexplorer/1200/index.cfm?fa=download

An online version of the SDK documentation can be found here:
http://resources.esri.com/help/1200/arcgisexplorer/conceptualhelp/index.html
and API reference here:
http://resources.esri.com/help/1200/arcgisexplorer/componenthelp/index.html#/_/000300000426000000/

I dont know any examples of doing exactly what you're after, but if you want to do something in ArcGIS Explorer at startup, I would suggest you take a look at making an Extension, and go from there:
http://resources.esri.com/help/1200/arcgisexplorer/conceptualhelp/index.html#/creating_a_custom_exte...
0 Kudos
thomaslepkowski
Emerging Contributor
Thanks sgill,

What I'm after is launching AGX from another program.  That's all.  Your reply addresses something else, but I appreciate your comments.

Thanks
0 Kudos
KirkKuykendall
Deactivated User
Why do you want to use COM?

Seems like an AGX extension could be written that does interprocess communication via WCF or sockets.

http://msdn.microsoft.com/en-us/library/fx6588te.aspx
http://resources.esri.com/help/1200/arcgisexplorer/conceptualhelp/index.html#/application_namespace_...
0 Kudos
AnthonyCatalano
Emerging Contributor
I agree COM is so (AAAHhhhhh) scary. The SDK has code for .net but java and .net are both object orientated languages. Why not create a wrapper class in java and kick off a .net solution through java?? At least there you can have some encapsulation.
0 Kudos