mohitsgw / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

Create GE tour programmatically #587

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

It would be great to expand IKmlTour API to be able to build GE tour 
programmatically.

Something like this...

IGETourPlayer tourp = gep.getTourPlayer(); 
IKmlTour tour = gep.createTour("TOUR" + System.Guid.NewGuid()); 

//build - pseudo code with new API
IKmlPlayList pl= tour.AddPlayList();
pl.FlyTo(lat,lon,alt, heading,tilt,roll,altmode, flytime, soundfile);
pl.Wait(waittime,soundfile);
pl.PlaySound(soundfile);

//play it
tourp.setTour(tour); 
string kml=tour.getKml(); 
tourp.play(); 

Thanks.
Zoran.

Original issue reported on code.google.com by email.an...@gmail.com on 20 Jan 2011 at 8:15

GoogleCodeExporter commented 8 years ago
Any luck with this?

Original comment by carterhe...@yahoo.com on 2 Jul 2014 at 4:57