how to create table of content in arcgic runtime sdk 100.2.1 java

701
3
04-12-2018 12:32 AM
SN_RathodK
New Contributor

Hi ,

I am new to arcgis, I have a requirement where I have to show table of content(TOC with default features) of map and its layers using arcgis java runtime sdk 100.2.1.

Please  let me know how to do this.

Thanks in advance.

SN Rathod.

0 Kudos
3 Replies
nita14
by
Occasional Contributor III

Hi,

I reckon that Esri does not provie toolkit for 100.2.1 (java fx). It used to be available for 10.x version based on Swing components. As for now, there is only .Net toolkit available for current version of ArcGIS Runtime.

I think you need to develop it on your own. There is a nice method to get the Legend from layer

fetchLegendInfosAsync () Layer| arcgis-java 

Regards,

Adam

0 Kudos
EricBader
Occasional Contributor III

Speaking of toolkit components, we'll be releasing the first 100.2.1 toolkit in just a few days. Unfortunately, TOC component isn't in this first release. It will contain an Overview Map, a compass, and a scalebar. Look for an announcement on Monday.

SN, I am very interested in hearing what exactly your requirements are for the TOC. Please feel free to share.

0 Kudos
gokulthakare
New Contributor II

it should load legend and layers from map as table of content and this feature is available with .net tool kit .