gss published pages

12 views
Skip to first unread message

Rasp

unread,
Sep 20, 2014, 5:58:30 PM9/20/14
to timemap-d...@googlegroups.com
This is probably not a timemap issue, but any advice would be appreciated.

I've run the google_spreadsheet.html example locally and it works with out a hitch.
After changing the script src:

<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Spreadsheet Example</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="../lib/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="../lib/mxn/mxn.js?(googlev3)"></script>
<script type="text/javascript" src="../lib/timeline-1.2.js"></script>
<script src="../src/timemap.js" type="text/javascript"></script>
<script src="../src/param.js" type="text/javascript"></script>
<script src="../src/loaders/json.js" type="text/javascript"></script>
<script src="../src/loaders/google_spreadsheet.js" type="text/javascript"></script>

 it never works - the map loads but no data is populated. 

i.e.
...
 datasets: [
{
title: "Events",
id: "events",
theme: "purple",
type: "gss",
options: {
// note that your spreadsheet must be published for this to work
key: "0AtlI2SwTgOz0dDJCcFpoWjV2dFRmWHl3RjNza1NkMmc",
// map spreadsheet column names to expected ids
paramMap: {
start: "date"
...

Thanks in advance
Rob
Reply all
Reply to author
Forward
0 new messages