Google Fusion Tables Card Layout: How to format fields
I have the following template:
{template .contents}
<div class='googft-card-view' style='font-family: sans-serif; height:
17em; width: 450px; padding: 4px; border: 1px solid #ccc; overflow:
hidden'>
<table border="0">
<tr>
<td>
<b>Village:</b> {$data.formatted.Village}<br>
<b>Location:</b> {$data.value.Location}<br>
<b>Location Accuracy:</b> {$data.value['Location:Accuracy']}
meters<br>
</td>
</table>
</div>
{/template}
Which gives me:
Village: TestVillage
Location:
<Point><coordinates>69.1782913000,34.5338741600,1787.5000000000</coordinates></Point>
Location Accuracy: 5.0 meters
I'd like to be able to get rid of the , tags, and format the values.
Javascript is disabled/stripped out in the card layout.
How can I manage this, if possible?
No comments:
Post a Comment