Use the correct name of the result, not just hard-coded 'result'.
This commit is contained in:
@@ -94,9 +94,10 @@ OpenLayers.WPSClient = OpenLayers.Class({
|
||||
* geometries or features.
|
||||
* success - {Function} Callback to call when the process is complete.
|
||||
* This function is called with an outputs object as argument, which
|
||||
* will have a 'result' property. For processes that generate spatial
|
||||
* output, this will either be a single <OpenLayers.Feature.Vector> or
|
||||
* an array of features.
|
||||
* will have a property with the name of the requested output (e.g.
|
||||
* 'result'). For processes that generate spatial output, the value
|
||||
* will either be a single <OpenLayers.Feature.Vector> or an array of
|
||||
* features.
|
||||
* scope - {Object} Optional scope for the success callback.
|
||||
*/
|
||||
execute: function(options) {
|
||||
|
||||
Reference in New Issue
Block a user