diff --git a/README.md b/README.md index 6a58b4e..38ee96b 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,19 @@ Create a Google Spreadsheet with the following columns: * caption * body * read more url +* google map **Please note that the the _display date_ column must be in the format _Month day, Year_ (April 25, 2012) for proper javascript parsing.** **Also, all columns must be _plain text_ format, including the two date columns.** +The _google map_ column contains a pipe-delimited list of parameters for a Google Map, which will appear in an iframe: +* ll: lat,long +* label: the text to appear in the popup on the marker +* type: m=map, k=satellite, h=hybrid +* zoom level + +E.g. 27.173186,78.041661|Taj Mahal|h|16 + Now follow the instructions over at Tabletop.js to publish the Spreadsheet. The Spreadsheet used in the example index.html file is at [https://docs.google.com/spreadsheet/ccc?key=0AsmHVq28GtVJdG1fX3dsQlZrY18zTVA2ZG8wTXdtNHc](https://docs.google.com/spreadsheet/ccc?key=0AsmHVq28GtVJdG1fX3dsQlZrY18zTVA2ZG8wTXdtNHc) diff --git a/css/style.css b/css/style.css index 6d8de40..7618833 100755 --- a/css/style.css +++ b/css/style.css @@ -145,6 +145,11 @@ body{ #timeline .post .body img{ max-width: 247px; } +/* iframe for Google map */ +#timeline .post .body iframe{ + width: 247px; + height: 300px; +} #timeline .post .text{ color: #393939; font-family: Georgia, sans-serif; diff --git a/index.html b/index.html index d58d9a0..af09649 100755 --- a/index.html +++ b/index.html @@ -77,7 +77,14 @@