View Single Post
  #4 (permalink)  
Old 09-05-2007, 05:15 AM
Mramesh Mramesh is offline
D-Web Sr.Programmer
 
Join Date: Sep 2007
Location: Chennai
Posts: 106
Mramesh is on a distinguished road
Send a message via MSN to Mramesh
Default How to call a kml file for google earth from c# Windows application ?

Hi Deeban,

you can call call the kml file from c# windows application for google earth using the ApplicationGEClass class.

here is the code:

ApplicationGEClass googleEarth = new ApplicationGEClass();
googleEarth.OpenKmlFile(Environment.CurrentDirecto ry + "/KML_Samples.kml", 10);


I hope this will help you...


cheers...
Reply With Quote