Hi Guys, i set this code line in the mapManager.js in the WAB Application
_show2DWebMap: function(appConfig) {
//should use appConfig instead of this.appConfig, because appConfig is new.
// if (appConfig.portalUrl) {
// var url = portalUrlUtils.getStandardPortalUrl(appConfig.portalUrl);
// agolUtils.arcgisUrl = url + "/sharing/content/items/";
// }
on(this.map, "load", lang.hitch(this, function() {
//do something to addedLayers
}));
but i get this error:
The big problem is that i have declare dojo on the define function, i dont know what is the error, thank you.