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.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.