1
2
3
4
5
6
7
8
9
10
functiondrawResultData(result) {
// use the result (JobInfo object) to fetch a MapImageLayer result.fetchResultMapImageLayer(result.jobId).then((resultLayer) => {
resultLayer.opacity = 0.7;
resultLayer.title = "HotspotLayer";
// add the result layer to the map map.layers.add(resultLayer);
});
}