Make legend more like table of contents

678
2
12-20-2011 09:03 AM
JessicaKnight1
New Contributor III
Ive seen the sample to add a legend and the sample to toggle layer visability. Is there a way to combine the two and make the legend more like the table of contents in ArcMap/ArcServer to toggle the layers? I'm fairly new to JavaScript so if its too complicated, I can work on this aspect later. Thanks.
0 Kudos
2 Replies
JeffPace
MVP Alum
Ive seen the sample to add a legend and the sample to toggle layer visability. Is there a way to combine the two and make the legend more like the table of contents in ArcMap/ArcServer to toggle the layers? I'm fairly new to JavaScript so if its too complicated, I can work on this aspect later. Thanks.


Check out this incredible sample from nianwei

http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/1.06/examples/toc.html
0 Kudos
JessicaKnight1
New Contributor III
That's exactly the type of thing I was looking for! Thanks!
0 Kudos