AnsweredAssumed Answered

wabWidget use?

Question asked by lkoumis on Jan 17, 2018
Latest reply on Jan 18, 2018 by lkoumis

I am trying to use the replicate the functionality of wabWidget as it is used in the AddData widget in the AddFromUrlPanel.js under the addClicked function.

 

In that widget, the use of:

 wabWidget= null;
var map = this.wabWidget.map;

the map variable produces all the info for the map.

console.log(map):

......

......

However if I attempt to use the above scripting for for a custom function to get the variable map, I get the error: 

What am I missing to get the same output for the map?

 

Thank you.

Outcomes