The legend reflects the organization of the layers in the map.To get a hierarchy of layer, you have to organize your graphics layers into group layers.Then you have to set your Legend.LayerItemsMode to "Tree".The GroupLayers SDK sample demonstrates that.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.