Hi Nick,Could you give an example that forstatic files covering regular time intervals (e.g. data2009-11-05.json, data2009-11-06.json, etc)
for example i store all my data in a folder called datathe format will be :
datasets: [{title: "Progressive JSON Dataset",type: "progressive",options: {// the loader type you really want
type: "json_string",url: "/data?start=[start]&end=[end]" // this is the part I am not sure}}]
On Saturday, November 7, 2009 5:22:14 PM UTC-8, Nick R wrote:Hello all -This has come up a couple of times on the list, so I wanted to note that I've added a new loader for progressive loading (i.e. loading blocks of data based on the position of the timeline), now in the SVN trunk. It's basically a wrapper for other remote loaders, so it can use any existing type of loader (jsonp, json_string, kml, etc), as long as you have either a service that can take a start and end date (e.g. /mydata.json?start=2009-11-05&end=2009-11-07) or static files covering regular time intervals (e.g. data2009-11-05.json, data2009-11-06.json, etc). Basic syntax within TimeMap.init() looks like this:datasets: [{title: "Progressive JSONP Dataset",type: "progressive",options: {// the loader type you really wanttype: "jsonp",// options for the loader you want, including a URL with placeholder strings}}]I added an example page at http://timemap.googlecode.com/svn/trunk/examples/progressive.html , which progressively loads data from a random data generation service.I hope this is useful - enjoy!-Nick
--
You received this message because you are subscribed to the Google Groups "Timemap.js Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/timemap-development/-/Zi9DPR4aIl0J.
To post to this group, send email to timemap-d...@googlegroups.com.
To unsubscribe from this group, send email to timemap-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/timemap-development?hl=en.