I am teaching a new course called Global Studies, which looks at many aspects of various regions of the world. As in introduction to each region, I plan on making a Google Earth tour with information, pictures, video, etc... That part I know how to do, but I want to "polish" it. I want to open the balloon once the student arrives at a location and I want the tour to pause. I want the balloon to close when the tour is contninued.
From research, I learned that I need to edit the kml file (located inside the kmz file - accessed via zip). I need to add the appropriate code:
(Turning on Balloon) <gx:AnimatedUpdate> <Update> <targetHref/> <Change> <Placemark targetId="BLAHBLAHBLAH"> <gx:balloonVisibility>1</gx:balloonVisibility> </Placemark> </Change> </Update> </gx:AnimatedUpdate> (Pausing) <gx:TourControl> <gx:playMode>pause</gx:playMode> </gx:TourControl> (Turning off Balloon) <gx:AnimatedUpdate> <Update> <targetHref/> <Change> <Placemark targetId="BLAHBLAHBLAH"> <gx:balloonVisibility>0</gx:balloonVisibility> </Placemark> </Change> </Update> </gx:AnimatedUpdate>
The issue I have is that I can't seem to figure out WHERE to place it within the doc.kml. The examples show simple "flyto" commands for each location. The doc.kml in the kmz file has way more flyto's than my 16 locations. If I search for the lat/long, there are huge numbers as well. If I search for the location/placemark names, they are only found in the beginning of the file, where there are no flyto statements.
Is there a way I can figure out where to place the code to achieve the polished look I am trying to accomplish? My kmz file can be found here. I want to learn how to do this, so in the future I can do it with other tours and other regions.