{{! Global keys: altitudeMode,caption,gmtMaxTimestamp,gmtMinTimestamp,gmtNowTimestamp,houdahGeoLogoSrc,houdahGeoVersion,images,initialAltitude,initialAltitudeValue,initialLatitude,initialLatitudeValue,initialLocalizedAltitude,initialLocalizedLatitude,initialLocalizedLongitude,initialLongitude,initialLongitudeValue,localizedMaxTimestamp,localizedMinTimestamp,localizedNowTimestamp,maxTimestampValue,minTimestampValue,nowTimestampValue,pathPrefix,tracks,tracks?,userFirstName,userFullName,userLastName,w3cMaxTimestamp,w3cMinTimestamp,w3cNowTimestamp,localizedAltitudeLabel,localizedAmbientHumidityLabel,localizedAmbientPressureLabel,localizedAmbientTemperatureLabel,localizedCityLabel,localizedCountryCodeLabel,localizedCountryLabel,localizedDepthLabel,localizedDescriptionLabel,localizedHeadingLabel,localizedKeywordsLabel,localizedLatitudeLabel,localizedLocationLabel,localizedLongitudeLabel,localizedNameLabel,localizedProvinceLabel,localizedSpeedLabel,localizedTimestampLabel,localizedTitleLabel,localizedViewingDirectionLabel,localizedViewOffsetLabel
}}
{{! Image keys: altitude,altitudeValue,ambientHumidity,ambientHumidityValue,ambientPressure,ambientPressureValue,ambientTemperature,ambientTemperatureValue,city,country,countryCode,depth,depthValue,description,gmtTimestamp,heading,headingValue,iconHeading,iconHeadingValue,identifier,keywords,label,latitude,latitudeValue,localizedAltitude,localizedAmbientHumidity,localizedAmbientPressure,localizedAmbientTemperature,localizedDepth,localizedHeading,localizedLatitude,localizedLongitude,localizedSpeed,localizedTimestamp,localizedViewingDirection,localizedViewOffset,location,longitude,longitudeValue,longLabel,name,province,scaledImageHeight,scaledImageHeightValue,scaledImageHeightscaledImageHeightValue,scaledImageHref,scaledImageSrc,speed,speedValue,thumbnailImageHref,thumbnailImageSrc,timestampValue,title,viewingDirection,viewingDirectionValue,viewOffset,viewOffsetValue,w3cTimestamp
}}
{{! Track keys: beginTimestampValue,endTimestampValue,maxLatitude,maxLatitudeValue,maxLongitude,maxLongitudeValue,minLatitude,minLatitudeValue,minLongitude,minLongitudeValue,name,points
{{! Track point keys: altitude,altitudeValue,gmtTimestamp,latitude,latitudeValue,localizedTimestamp,longitude,longitudeValue,timestampValue,w3cTimestamp
}}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2">
 	<Document>
		<name>{{caption}}</name>
 	 	<open>1</open>
 	 	<Style id="TrackLog">
 	 	 	<LineStyle>
 	 	 	 	<color>7f3333ff</color>
 	 	 	 	<width>4</width>
 	 	 	</LineStyle>
 	 	 	<IconStyle>
 	 	 	 	<Icon>
 	 	 	 	 	<href>http://maps.google.com/mapfiles/kml/pal2/icon16.png</href>
 	 	 	 	</Icon>
 	 	 	</IconStyle>
 	 	</Style>
 	 	<Folder>
 	 	 	<name>Images</name>
 	 	 	<open>0</open>
{{#images}}
			<Placemark id="{{{identifier}}}">
				<description>
				<![CDATA[
					<div style="text-align: center; padding: 1em 1em 1em 0;">
					<img src="{{scaledImageSrc}}" width="{{scaledImageWidth}}" height="{{scaledImageHeight}}" alt="{{label}}"/>
					</div>
					<table>
					<tr><td><b>{{localizedLatitudeLabel}}</b>:</td><td>{{localizedLatitude}}</td></tr>
					<tr><td><b>{{localizedLongitudeLabel}}</b>:</td><td>{{localizedLongitude}}</td></tr>
{{#localizedAltitude}}
					<tr><td><b>{{localizedAltitudeLabel}}</b>:</td><td>{{.}}</td> </tr>
{{/localizedAltitude}}
{{#localizedViewingDirection}}
					<tr><td><b>{{localizedViewingDirectionLabel}}</b>:</td><td>{{.}}</td> </tr>
{{/localizedViewingDirection}}
{{#localizedSpeed}}
					<tr><td><b>{{localizedSpeedLabel}}</b>:</td><td>{{.}}</td> </tr>
{{/localizedSpeed}}
{{#location}}
					<tr><td><b>{{localizedLocationLabel}}</b>:</td><td>{{.}}</td> </tr>
{{/location}}
{{#city}}
					<tr><td><b>{{localizedCityLabel}}</b>:</td><td>{{.}}</td> </tr>
{{/city}}
{{#province}}
					<tr><td><b>{{localizedProvinceLabel}}</b>:</td><td>{{.}}</td> </tr>
{{/province}}
{{#country}}
					<tr><td><b>{{localizedCountryLabel}}</b>:</td><td>{{.}}</td> </tr>
{{/country}}
					<tr><td><b>{{localizedTimestampLabel}}</b>:</td><td>{{localizedTimestamp}}</td> </tr>
{{#longLabel}}
					<tr>
					<td colspan="2">
					<br/>
					{{.}}
					</td>
					</tr>
{{/longLabel}}
					</table>
					]]>
				</description>
 	 			<Snippet></Snippet>
				<name>{{label}}</name>
				<Style>
{{#thumbnailImageHref}}
 	 	 			<IconStyle>
 	 	 	 				<color>ffffffff</color>
 	 	 	 				<Icon>
								<href>{{.}}</href>
 	 	 	 				</Icon>
 	 	 			</IconStyle>
{{/thumbnailImageHref}}
{{^thumbnailImageHref}}
{{#iconHeading}}
					<geomScale>.75</geomScale>
					<IconStyle>
							<color>ffffffff</color>
							<heading>{{.}}</heading>
							<Icon>
								<href>http://maps.google.com/mapfiles/kml/pal4/icon28.png</href>
							</Icon>
					</IconStyle>
{{/iconHeading}}
{{^iconHeading}}
					<IconStyle>
						<Icon>
							<href>http://maps.google.com/mapfiles/kml/pal4/icon46.png</href>
						</Icon>
					</IconStyle>
{{/iconHeading}}
{{/thumbnailImageHref}}
					<BalloonStyle>
						<text><![CDATA[
							<style>
							html { font-family: Helvetica, Arial, sans-serif; }
							td { padding-right: 25px; }
							</style>
							<b><font size="+2">$[name]</font></b>
							<font size="+1">
							$[description]
							</font>
						]]></text>
					</BalloonStyle>
				</Style>
				<ExtendedData>
					<Data name="gx_media_links">
						<value>{{scaledImageSrc}}</value>
					</Data>
				</ExtendedData>
	 			<Point>
					<altitudeMode>{{altitudeMode}}</altitudeMode>
					<coordinates>{{longitude}},{{latitude}}{{#altitude}},{{.}}{{/altitude}}</coordinates>
 	 			</Point>
			</Placemark>
{{/images}}
 	 	</Folder>
{{#tracks?}}
 	 	<Folder>
 	 	 	<name>Tracks</name>
{{#tracks}}
			<Folder>
				<name>{{name}}</name>
 	 	 	 	<Placemark>
 	 	 	 	 	<name>Path</name>
 	 	 	 	 	<visibility>1</visibility>
 	 	 	 	 	<styleUrl>#TrackLog</styleUrl>
 	 	 	 	 	<LineString>
						<altitudeMode>{{altitudeMode}}</altitudeMode>
 	 	 	 	 	 	<tessellate>1</tessellate>
 	 	 	 	 	 	<coordinates>
{{#points}}
							{{longitude}},{{latitude}}{{#altitude}},{{.}}{{/altitude}}
{{/points}}
						</coordinates>
 	 	 	 	 	</LineString>
 	 	 	 	</Placemark>
 	 	 	</Folder>
{{/tracks}}
 	 	</Folder>
{{/tracks?}}
 	 	<gx:Tour>
 	 	 	<name>Tour</name>
 	 	 	<gx:Playlist>

{{#images}}
 	 	 	 	<gx:FlyTo>
 	 	 	 	 	<gx:duration>4.0</gx:duration>
 	 	 	 	 	<gx:flyToMode>bounce</gx:flyToMode>
 	 	 	 	 	<Camera>
						<latitude>{{latitude}}</latitude>
						<longitude>{{longitude}}</longitude>
	 	 	 	 	 	<altitude>13000</altitude>
 	 	 	 	 	 	<altitudeMode>absolute</altitudeMode>
 	 	 	 	 	 	<tilt>0</tilt>
 	 	 	 	 	</Camera>
 	 	 	 	</gx:FlyTo>
 	 	 	 	<gx:AnimatedUpdate>
 	 	 	 	 	<Update>
 	 	 	 	 	 	<targetHref></targetHref>
 	 	 	 	 	 	<Change>
 	 	 	 	 	 	 	<Placemark targetId="{{{identifier}}}">
 	 	 	 	 	 	 	 	<gx:balloonVisibility>1</gx:balloonVisibility>
 	 	 	 	 	 	 	</Placemark>
 	 	 	 	 	 	</Change>
 	 	 	 	 	</Update>
 	 	 	 	</gx:AnimatedUpdate>
 	 	 	 	<gx:Wait>
 	 	 	 	 	<gx:duration>5.0</gx:duration>
 	 	 	 	</gx:Wait>
 	 	 	 	<gx:AnimatedUpdate>
 	 	 	 	 	<Update>
 	 	 	 	 	 	<targetHref></targetHref>
 	 	 	 	 	 	<Change>
 	 	 	 	 	 	 	<Placemark targetId="{{{identifier}}}">
 	 	 	 	 	 	 	 	<gx:balloonVisibility>0</gx:balloonVisibility>
 	 	 	 	 	 	 	</Placemark>
 	 	 	 	 	 	</Change>
 	 	 	 	 	</Update>
 	 	 	 	</gx:AnimatedUpdate>
{{/images}}
				<gx:FlyTo>
				 	<gx:duration>4.0</gx:duration>
				 	<gx:flyToMode>bounce</gx:flyToMode>
				 	<Camera>
						<latitude>{{initialLatitude}}</latitude>
						<longitude>{{initialLongitude}}</longitude>
				 	 	<altitude>13000</altitude>
				 	 	<altitudeMode>absolute</altitudeMode>
				 	 	<tilt>0</tilt>
				 	</Camera>
				</gx:FlyTo>
 	 	 	</gx:Playlist>
 	 	</gx:Tour>
	 	<LookAt>
 	 	 	<gx:TimeSpan>
				<begin>{{w3cMinTimestamp}}</begin>
				<end>{{w3cMaxTimestamp}}</end>
 	 	 	</gx:TimeSpan>
			<latitude>{{initialLatitude}}</latitude>
			<longitude>{{initialLongitude}}</longitude>
 	 	 	<altitude>0</altitude>
 	 	 	<range>10000</range>
 	 	</LookAt>
 	 	<Folder>
 	 	 	<name>About</name>
 	 	 	<description>
			<![CDATA[
				<p>
				<center>
				<img src="{{houdahGeoLogoSrc}}" alt="HoudahGeo" /> <br/> <br/>
{{#userFullName}}
				Created by {{userFullName}}<br/>
				on {{localizedNowTimestamp}}<br/>
{{/userFullName}}
{{^userFullName}}
				Created on {{localizedNowTimestamp}}<br/>
{{/userFullName}}
				using <a href='https://www.houdah.com/houdahGeo/'>{{houdahGeoVersion}}</a>
				</center>
				</p>
			]]>
			</description>
 	 	</Folder>
 	</Document>
</kml>
