Where can I find the source code for the TOC tab

1785
6
01-03-2013 09:59 AM
JoseSanchez
Occasional Contributor III
Hi all

Where can I find the source code for the TOC tab for this sample:

http://www.mohadiax.de/gis/JS_TreeClient_ArcGIS/

thanks
0 Kudos
6 Replies
KevinMacLeod1
Occasional Contributor III
Hi all

Where can I find the source code for the TOC tab for this sample:

http://www.mohadiax.de/gis/JS_TreeClient_ArcGIS/

thanks


Is this it? It looks like that is a rel linked page of code?

http://www.mohadiax.de/gis/JS_TreeClient_ArcGIS/js/worldgrouped.js

I think it references it as worldgroupedCheckboxTree in the <body>. I am just starting out web design, new at HTML and javascript, and so maybe I got this right? If so I hope this helped, and if not sorry, I'm new!! It's funny, I posted the exact same thing a bit earlier. I also want to have a nice tree-displaying Table of Contents tab for the website I am making. So thank you jsn!
0 Kudos
JoseSanchez
Occasional Contributor III
0 Kudos
JoseSanchez
Occasional Contributor III
0 Kudos
AndyBurns
Occasional Contributor
there is a  Widget here:


http://gmaps-utility-gis.googlecode.com/svn-history/r354/trunk/agsjs/docs/toc/examples.html


This widget is recommended. I am using it in an app that we are designing currently for internal requirements (or i would give you  a link to check how it works )but the link provided by jsn should get anyone going with a well presented common TOC. Awsome work from the developer.

[ATTACH=CONFIG]20446[/ATTACH]
0 Kudos
KevinMacLeod1
Occasional Contributor III
This widget is recommended. I am using it in an app that we are designing currently for internal requirements (or i would give you  a link to check how it works )but the link provided by jsn should get anyone going with a well presented common TOC. Awsome work from the developer.

[ATTACH=CONFIG]20446[/ATTACH]


Thanks jsn for providing the link. I'm going to attempt to integrate this TOC/Legend above as well.

Creating a map with several groups of layers that each have over ten sublayers, needs a hierarchical layer menu, e.g. a TOC like ArcMap itself. Combining a TOC and Legend in this case just make sense.
It would be great if ESRI would incorporate this widget into the Basic Viewer sample javascript viewer. However for now I will integrate the widget above.
0 Kudos
MichaelVolz
Esteemed Contributor
kmacleod:

Did you get this TOC widget to work properly in your Javascript web app?
0 Kudos