Hi All,
How to add layer in postload.js ?
Naib,
The postload.js is for loading JS classes to the WAB app after everything is done loading in WAB. When dealing with adding a layer to the map you should work with the MapManager or develop a custom widget to add layers to the map. The postload.js does not have any hooks to the map or anything you would need to add a layer to the map.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.