|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<kml xmlns="http://www.opengis.net/kml/2.2" |
| 3 | + xmlns:gx="http://www.google.com/kml/ext/2.2"> |
| 4 | + |
| 5 | +<Folder> |
| 6 | + |
| 7 | + <name>Document inside a Folder and Placemark with TimeStamp</name> |
| 8 | + <open>1</open> |
| 9 | + <Style> |
| 10 | + <BalloonStyle> |
| 11 | + <textColor>ff000000</textColor> |
| 12 | + <bgColor>ffffffff</bgColor> |
| 13 | + <displayMode>default</displayMode> |
| 14 | + </BalloonStyle> |
| 15 | + </Style> |
| 16 | + |
| 17 | + <Document> |
| 18 | + <name>gx:AnimatedUpdate example</name> |
| 19 | + |
| 20 | + <Style id="pushpin"> |
| 21 | + <IconStyle id="mystyle"> |
| 22 | + <Icon> |
| 23 | + <href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href> |
| 24 | + <scale>1.0</scale> |
| 25 | + </Icon> |
| 26 | + </IconStyle> |
| 27 | + </Style> |
| 28 | + |
| 29 | + <Placemark id="mountainpin1"> |
| 30 | + <name>Pin on a mountaintop</name> |
| 31 | + <styleUrl>#pushpin</styleUrl> |
| 32 | + <TimeStamp><when>2009-07-28T17:32:43Z</when></TimeStamp> |
| 33 | + <Point> |
| 34 | + <coordinates>170.1435558771009,-43.60505741890396,0</coordinates> |
| 35 | + </Point> |
| 36 | + </Placemark> |
| 37 | + |
| 38 | + <Placemark id="mountainpin2"> |
| 39 | + <name>Pin on a mountaintop</name> |
| 40 | + <styleUrl>#pushpin</styleUrl> |
| 41 | + <TimeSpan> |
| 42 | + <begin>2009-07-28T17:32:43Z</begin> |
| 43 | + <end>2009-07-28T17:35:43Z</end> |
| 44 | + </TimeSpan> |
| 45 | + <Point> |
| 46 | + <coordinates>170.1435558771009,-43.60505741890396,0</coordinates> |
| 47 | + </Point> |
| 48 | + </Placemark> |
| 49 | + |
| 50 | + <gx:Tour> |
| 51 | + <name>Play me!</name> |
| 52 | + |
| 53 | + <gx:Playlist> |
| 54 | + |
| 55 | + <gx:FlyTo> |
| 56 | + <gx:flyToMode>bounce</gx:flyToMode> |
| 57 | + <gx:duration>3</gx:duration> |
| 58 | + <Camera> |
| 59 | + <longitude>170.157</longitude> |
| 60 | + <latitude>-43.671</latitude> |
| 61 | + <altitude>9700</altitude> |
| 62 | + <heading>-6.333</heading> |
| 63 | + <tilt>33.5</tilt> |
| 64 | + </Camera> |
| 65 | + </gx:FlyTo> |
| 66 | + |
| 67 | + <gx:AnimatedUpdate> |
| 68 | + <gx:duration>5</gx:duration> |
| 69 | + <Update> |
| 70 | + <targetHref></targetHref> |
| 71 | + <Change> |
| 72 | + <IconStyle targetId="mystyle"> |
| 73 | + <scale>10.0</scale> |
| 74 | + </IconStyle> |
| 75 | + </Change> |
| 76 | + </Update> |
| 77 | + </gx:AnimatedUpdate> |
| 78 | + |
| 79 | + <gx:Wait> |
| 80 | + <gx:duration>5</gx:duration> |
| 81 | + </gx:Wait> |
| 82 | + |
| 83 | + </gx:Playlist> |
| 84 | + </gx:Tour> |
| 85 | + |
| 86 | + </Document> |
| 87 | + |
| 88 | +</Folder> |
| 89 | +</kml> |
0 commit comments