It is possible but it needs some developments to create the hierarchical data. From version 2.1, a legend/TOC control will be provided.No that's not possible. The opacity of sublayers is defined when publishing the service and can't be changed by the REST API.
1. Is it possible to group the TOC by individual Groups, so that the List box consists of some kind of TreeView, and not all Sublayer-Checkboxes are shown at once??
2. Is it possible to create a Slider to change the Opacity of the Sublayers, like one can do it with the Layers??
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.