google_spreadsheet.js bug

4 views
Skip to first unread message

Stuart Eve

unread,
Sep 6, 2009, 1:37:10 PM9/6/09
to Timemap.js Development
Hi there

Was just trying this out and I noticed a bug (or maybe its a feature?)
with the google_spreadsheet loader. Using version 1.5 it won't display
date ranges as it only picks up the 'start' column and not the 'end'
column (even if its specified in the TimeMap.loaders.gss.map array).

A quick insert on line 90 of google_spreadsheet.js sorts it out:

var item = {
title: getField("title"),
start: getField("start"),
>>> end: getField("end"),
point: {
lat: getField("lat"),
lon: getField("lon")
},
options: {
description: getField("description")
}
};

Looks absolutely great!

Stu

Nick Rabinowitz

unread,
Sep 6, 2009, 2:55:31 PM9/6/09
to stua...@gmail.com, Timemap.js Development
Thanks, Stu! This is now fixed in the svn trunk.

-Nick
Reply all
Reply to author
Forward
0 new messages