Thanks a lot for the answer, I really appreciate :). Let me try to explain better what I'm trying to do: I want to clear only the timeband and still having the events showing on the map. I tried to use the noEventLoad, but this clears my map as well... So, my question is: is there anyway to clear ONLY the timebands, but having the items appearing on the map normally? The example with the google spreadsheet heatmap does it, I know, it's very different than what I'm trying to do, but it has items on the map with a clear timeband (like I want to). Thanks a lot again, I already learned a lot of stuff that I had no idea of in your message :). By the way, here is my code, if it helps somehow:
var tm;
$(function() {
// create the circular themes ("bubbles")
TimeMap.themes['theme1'] = TimeMapTheme.createCircleTheme({
alpha: '9b',
size: 100,
color: '008000'
});
TimeMap.themes['theme2'] = TimeMapTheme.createCircleTheme({
alpha: '9b',
size: 200,
color: '008000'
});
// init for the map and timeline
tm = TimeMap.init({
mapId: "map", // Id of map div element (required)
timelineId: "timeline", // Id of timeline div element (required)
options: {
mapType: "satellite",
style: "classic",
noEventLoad: true
},
datasets: [
{
id: "events",
title: "Events",
type: "basic",
options: {
items: [
{
"start" : "2009-01-03T00:00:00",
"end" : "2009-01-03T00:15:00",
"point" : {
"lat" : 40.68566660706582,
"lon" : -74.16328270287337
},
"title" : "event1",
"options" : {
"theme": "theme1"
}
},
{
"start" : "2009-01-03T00:00:00",
"end" : "2009-01-03T00:15:00",
"point" : {
"lat" : 40.63490415024189,
"lon" : -73.77831836935826
},
"title" : "event2",
"options" : {
"theme": "theme2"
}
}
]
}
}
],
bandIntervals: "min",
});
});
</script>
<link href="examples.css" type="text/css" rel="stylesheet">
<style>
div#timelinecontainer{ height: 120px; }
div#mapcontainer{ height: 550px; }
</style>
<script type="text/javascript" charset="UTF-8" src="{mod_drag,mod_ctrapi}.js"></script></head>
<body>
<div id="timemap">
<div id="timelinecontainer">
<div id="timeline" class=" timeline-container timeline-horizontal"></div>
<div id="mapcontainer">
<div id="map" style="position: relative; background-color: rgb(229, 227, 223);"></div>
</div>