Let me know if you still need help.
In generally, you can pass an array of layers to a function.
Each time you loop through the array, you execute an querytask.
Last, use an instance of "dojo/promise/all" to wait until all results are received and do something.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.