Hi, I am using timemap (http://code.google.com/p/timemap/), which uses SIMILE timeline, to display news stories on a map / timeline:
http://itn.co.uk/earth.html I am using dynamic data loading to load events onto the timeline / map in "chunks" so that I can support a large data set without performance issues. I am doing this using the addScrollListener for one of the bands of the timeline: timeline.getBand(0).addOnScrollListener( ... ); this invokes a re-load of the dataset: var loader = new TimeMap.loaders.json_string( { ... } ); var dataset = timemap.datasets[ "itn" ]; loader.load( dataset, layoutTimemap ); the layoutTimemap callback then lays out and repaints the timeline: layoutTimemap = function() { timeline.layout(); timeline.repaint(); }; unfortunately, what happens is that the data is loaded, but the events are all rendered squashed up at the top of the band(s) (overlapping each other when they coincide), rather than distributed across the timeline as is normal with staticly loaded data (not sure I have described this clearly ... best look at the URL above to see the effect - you need to scroll back one month to invoke a dynamic load). Any idea why this is? Ave. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
