Select to view content in your preferred language

Utility Network Trace Result

361
1
11-22-2023 03:11 AM
NarendranathMandal
Emerging Contributor

When running the Utility network trace widget, the results will be added as graphics.

How to get the graphics results data in the console ? 

I tried to trigger the events which is documented in the api documentation  add-result-area. But the event is not working.

Here my code is below

 const utilityNetworkTrace = new UtilityNetworkTrace({
          view: view,
          resultAreaProperties: {
            show: true
          }
        });
utilityNetworkTrace.on('add-result-area', getResult)
 
function getResult() {}
 
Reference URL
 
0 Kudos
1 Reply
AlixVezina
Esri Regular Contributor

Also refer to related post: Utility Network Trace results - Esri Community

0 Kudos