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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.