Hi Developers,
I am working on ArcGIS API for Java script 3.19. I am facing issue in to identify error, the, Error is reported in Development tools option in google chrome browser, while running and building the app through visual studio
Uncaught TypeError: Cannot read properties of null (reading 'refresh') for Mapviewer.js built using Javascript API 3.19
The code is here..................
//this._map.on("update-start", lang.hitch(this,this.showLoading()));
this._map.on("update-end", lang.hitch(this,function () {
this.hideLoading();
this._legendDijit.refresh();
//setTimeout(function () {
// legendFormat();
//}, 10);
}));
Please help me in my task as soon as posible. I am open for suggestions.