Hi gforte,

You actually want the closeBubble method on the bands:

for (var i = 0; i < tl.getBandCount(); i++) {
  tl.getBand(i).closeBubble();
}

As for the caching problem, you can load the JSON and XML files in a 
different window or tab and refresh them while holding down the Ctrl 
and/or Shift key. I don't remember which key is required in each 
browser, but if you actually see the new version of the JSON or XML file 
in the second window/tab, then the timeline should get the new data when 
you refresh it.

Cheers,

David

[EMAIL PROTECTED] wrote:
> Hello all,
> I am using timeline with a combination of xml and json(georss-->json). 
> In one of my timelines I have a link that will map a timeline item on a 
> google map. All works fine but I need to access the closeBubble 
> function on click. How can I do this?
>
> Here is my function that maps:
>
> function mapIt(lat,lon,link,title)
>     {
>         var point = new GLatLng(lat,lon);
>         var _link = "<a href='"+link+ "' style='font-family:Times New 
> Roman;font-size:16pt; font-style: italic; color:#E10E00;' target='_new' 
> title='Click to view Details'>"+title+"</a>";
>         var marker = createMarker(point,_link);
>         map.addOverlay(marker);        map.panTo(new GLatLng(lat,lon));
>         Timeline.Graphics.closeBubble();
>     }
>
> In addition to above I tried the following:
>
> tl.closeBubble()
> Timeline.Band.closeBubble();
> bubble.close()
> and many others.
> Cant get it to work.
>
>
> Also , does anyone have a problem with cacheing of timeline source files?
>
> I can switch between files but I get the cached version of the file.
> If I change the file contents I get the unchanged version. Other than 
> changing the filename and using the Pragma no-cache is there something 
> else I can do?
>
> Thanks!
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to