Hi.I am using the sample code TOC. I want to check which check boxes are click to retireve the relataive attributes. How to check which check boxes are checked ?thanks for the help.
dojo.forEach(legendLayers, function(layer){ if(layer.layer.visible){ console.log('this layer is checked and turned on'); }else{ console.log('this layer is off'); } });
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.