Timemap.js v.2.0.1

Namespace TimeMap.loaders

Defined in:
timemap.js

Namespace for different data loader functions. New loaders can add their factories or constructors to this object; loader functions are passed an object with parameters in TimeMap.init().

    TimeMap.init({
        datasets: [
            {
                // name of class in TimeMap.loaders
                type: "json_string",
                options: {
                    url: "mydata.json"
                },
                // etc...
            }
        ],
        // etc...
    });

Static Methods

Method
TimeMap.loaders.cancel(callbackName)
Cancel a specific load request.
TimeMap.loaders.cancelAll()
Cancel all current load requests.
Namespace Detail
TimeMap.loaders
Static Method Details
TimeMap.loaders.cancel(callbackName)
Cancel a specific load request. In practice, this is really only applicable to remote asynchronous loads. Note that this doesn't cancel the download of data, just the callback that loads it.
Parameters (optional)
callbackName {String} Name of the callback function to cancel
TimeMap.loaders.cancelAll()
Cancel all current load requests.
©2010 Nick Rabinowitz
Documentation generated by JsDoc Toolkit 2.3.2 on Sat Aug 06 2011 13:40:07 GMT-0700 (PDT)