Difference between revisions of "Custom Placemark Template"
From SailBlogs Support Wiki
Line 1: | Line 1: | ||
− | |||
Standard [[Google Earth]] KML template for a placemark by SailBlogs: | Standard [[Google Earth]] KML template for a placemark by SailBlogs: | ||
− | + | <pre> | |
− | + | <Placemark> | |
− | + | <description> | |
− | + | <![CDATA[<br> | |
− | + | <table cellpadding=2 cellspacing=0 border=0 width=100%> | |
− | + | <tr><td valign=top>[%thumb%]<br> | |
[%pData%] | [%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%] | + | [%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> | |
− | + | </pre> |
Latest revision as of 16:25, 8 December 2010
Standard Google Earth KML template for a placemark by SailBlogs:
<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>