I have two google spreadsheets as datasets in my TimeMap, which perfectly show on the map. Lamentably, only one Cartas, for some reason in my first try it was the other...) of the datasets shows in the timeline, but I need both in the timeline too!
Ideas?
Here is the Code:
mapTypeControl: true,
panControl: true,
zoomControl: true,
scaleControl: true,
},
datasets: [
{
title: "Cartas",
id: "cartas",
theme: "orange",
type: "gss",
options: {
// note that your spreadsheet must be published for this to work
key: "0AuZ4ZpnXKrCGdFRnR2Q1T1JubHhoVGxOMnowSE9wZ0E",
// map spreadsheet column names to expected ids
paramMap: {
start: "fecha", title: "label", durationEvent: "dur"
}
}
},
{
title: "Eventos",
id: "eventos",
theme: "green",
type: "gss",
options: {
// note that your spreadsheet must be published for this to work
key: "10n1zYUH9fUhHWtMVAAPD1AvUdMiYnTgR6l05-eJuQ3Q",
// map spreadsheet column names to expected ids
paramMap: {
start: "fecha", title: "title", durationEvent: "dur"
}
}
}
],