[GIS] Difference between Table of Contents (TOC) and Legend in ArcGIS Viewer for Flex

arcgis-flex-viewerlegendtable of contents

I have been using the ArcGIS Viewer for Flex for quite a while. I couldn't help noticing there were still two widgets, one for Table of Contents (TOC) and the other for Legend.

It looks to me TOC is a layer tree with checkboxes but no icons, while legend is a layer tree with icons but no checkbox.

What's the difference between TOC and legend in a web mapping app or anywhere?

Web apps certainly can do both. GeoPDF allows you to toggle layers.

Unless you want to print a map out, personally I don't see a reason that those two are separated.

For those who see significant differences, please take a look at the screenshots on my blog (The site doesn't allow me add an image because I am new?!). Or maybe try a custom widget on FlexViewer 2.2 for a clickable legend or a TOC with layer icons. And since search rules all nowadays, it allows you to search layers across services by keyword.

Then tell me if you still see they are two or one.

enter image description here

Best Answer

A Map Legend is a static representation of features on the map and their meaning

enter image description here

A Table of Contents [TOC] is an interactive list displaying features on the map - some even showing what is visible in real-time.

enter image description here

Related Question