Custom Placemark Template

From SailBlogs Support Wiki
Revision as of 13:31, 8 August 2008 by Tharincar (talk | contribs) (New page: Standard Google Earth KML template for a placemark: <pre> <Placemark> <description> <![CDATA[<br> <table cellpadding=2 cellspacing=0 border=0 width=100%> <tr><td valign=top>[%t...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Standard Google Earth KML template for a placemark:

<Placemark>
	<description>
		<![CDATA[<br>
		<table cellpadding=2 cellspacing=0 border=0 width=100%>
		<tr><td valign=top>[%thumb%]<br>
		[%pData%]
		<br>
		<br>
		<img src="http://www.sailblogs.com/xplot/maps/sb_map_logo.png"></td>
		<td valign=top>
		<i>Post Date:</i> [%postDate%]<br>
		<b>[%postTitle%]</b><br>
		[%postBody%]<br>
		<a href='[%postURL%]'>[%blogLinkText%]</a></td></tr></table>]]>
	</description>
	<name><![CDATA[[%markTitle%]]]></name>
	<styleUrl>[%pointType%]</styleUrl>
	<Style><geomScale>[%pointScale%]</geomScale></Style>
	<Point>
		<coordinates>[%long%],[%lat%],0</coordinates>
	</Point>
</Placemark>