gp.submitJob(params).then(function (jobInfo) {
var jobid = jobInfo.jobId;
var options = {interval: 3000, statusCallback:function (j) {console.log("Job Status: ", j.jobStatus);}};
gp.waitForJobCompletion(jobid, options).then(function () {
var reusltSet = gp.getResultData(jobid, "Viewshed_Result");
});
I am getting the resultSet to the below:
Kindly request to know where is my output results.