谷歌地球 COM API 开发

下载Interop.EARTHLib.dll

http://www.zhaodll.com/dll/i/201207/102733.html

在VS2017中新建一个Winform项目,然后如下添加引用;

将引用组件的嵌入互操作类型改为 false,如下图;

2、对GoogleEarth activex控件进行注册(googleearth.exe /regserver) 

运行cmd,

执行"cd C:\Program Files (x86)\Google\Google Earth\client"

执行"googleearth.exe /regserver"

猜你喜欢

转载自blog.csdn.net/dyxcome/article/details/82503779