Cache of DescribeProcess responses on the client.
This commit is contained in:
@@ -18,8 +18,9 @@ OpenLayers.WPSClient = OpenLayers.Class({
|
||||
*
|
||||
* Properties:
|
||||
* url - {String} the url of the server
|
||||
* knownProcesses: {Object} Cache of DescribeProcess responses, keyed by
|
||||
* process identifier.
|
||||
* version - {String} WPS version of the server
|
||||
* describeProcessResponse - {Object} Cache of DescribeProcess responses,
|
||||
* keyed by process identifier.
|
||||
*/
|
||||
servers: null,
|
||||
|
||||
@@ -61,7 +62,8 @@ OpenLayers.WPSClient = OpenLayers.Class({
|
||||
for (var s in options.servers) {
|
||||
this.servers[s] = typeof options.servers[s] == 'string' ? {
|
||||
url: options.servers[s],
|
||||
version: '1.0.0'
|
||||
version: '1.0.0',
|
||||
describeProcessResponse: {}
|
||||
} : options.servers[s];
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user