Another customized TOC Legend widget

Discussion created by maxwellr on Dec 20, 2013
Latest reply on Dec 22, 2013 by amarsden
I've built a customized legend widget for the Javascript API that I'd like to share with the user community. I can't find the old Code Gallery on the ArcGIS site anymore so I'll just post it here. If anyone knows of a better place to share it please let me know.

I realize there are a couple of other customized legend widgets available, but I was never completely satisfied with any of them so I built my own. It was actually quite a bit simpler to create a widget that worked for our in-house apps than it was to build a more robust version that could serve the larger community, but I was motivated by the challenge and wanted to hone my skills. I'm really happy with it, I hope others find it useful as well.

You can view and download the code for the widget on GitHub: