1.安裝Google Earth。 2.在解決方案中添加對EARTHLib COM組件的引用。 3.引用EARTHLib 和 System.Runtime.InteropServices。 using EARTHLib;