João,

Yes, there is. You need to register for scrolling events on one band and 
react to it, e.g.,

    tl.getBand(0).addOnScrollListener(function(band) {
       var minDate = band.getMinDate();
       var maxDate = band.getMaxDate();
       if (... need to reload events ...) {
          eventSource.clear();
          tl.loadXML(...);
       }
    });

Related old threads:
    
http://simile.mit.edu/mail/BrowseList?listName=General&by=thread&from=6975
    
http://simile.mit.edu/mail/BrowseList?listName=General&by=thread&from=10104

As for performance, Firefox 2.x is much better than 1.5.x with respect 
to performance.

David

João Miguel Neves wrote:
> Good morning,
>
> Before I start diving into the code, is there anyway to lazy load events
> into a timeline? By lazy loading, I mean loading/unloading events from
> the timeline.
>
> I'm using a timeline to help visualize aircraft and crew assignments
> (all events related to an aircraft or a person show in a timeline). With
> events growing at about 1300 a month, the load on the browser is already
> interesting (a single webpage can have a timeline with 15 synchronized
> bands).
>
> The rails helper had some code to do this, but it relied on a way to
> clear the events of the timeline. I don't know of such a functionality,
> but before I search for it or implement it, I'd prefer to ask the
> experts.
>
> One thing, has anyone noticed a performance degradation over time of a
> browser using timeline (Firefox 1.5)? The browser was using only the
> system with timelines (the other webcode is simple at the html 2.0 level
> - no, I don't mean web 2.0). But, after 4/6 hours restarting the browser
> offers a nice speedup...
>
> Thanks for a great tool,
>                                               João Miguel Neves
>
> PS: The system is in production and already passed an audit by the local
> FAA-equivalent.
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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