Module: loadJsonp

Requests a resource using JSONP.
Parameters:
Name Type Attributes Description
url String The URL to request.
options Object <optional>
Object with the following properties:
Properties
Name Type Attributes Default Description
parameters Object <optional>
Any extra query parameters to append to the URL.
callbackParameterName String <optional>
'callback' The callback parameter name that the server expects.
proxy Proxy <optional>
A proxy to use for the request. This object is expected to have a getURL function which returns the proxied URL, if needed.
Source:
See:
Returns:
a promise that will resolve to the requested data when loaded.
Type
Promise.<Object>
Example
// load a data asynchronously
Cesium.loadJsonp('some/webservice').then(function(data) {
    // use the loaded data
}).otherwise(function(error) {
    // an error occurred
});