Select to view content in your preferred language

Table of Contents - Legend Widget for FlexViewer 2.x

161360
664
12-01-2010 07:30 AM
RobertScheitlin__GISP
MVP Emeritus
All,

Here is the next in my line of widgets for the FlexViewer 2.x.

The legend portion of this widget is the same code as my dynamic legend widget so,

IT IS FOR ARCGIS SERVER 10 OR GREATER ONLY

This is just a simple TOC Widget that includes my dynamic legend component.
This widget also includes my enhancement for map service transparency,
right click context menu for zoom to make layer visible, and my scale
dependent renderer for the TOC checkboxes.
Tags (2)
0 Kudos
664 Replies
RobertScheitlin__GISP
MVP Emeritus
Bo,

   Open a new thread with this question and I will provide you the code that needs to be changed in the widgets source. This is not something that can be done without changing the code.
0 Kudos
mazenmrad
Emerging Contributor
Hi All

From where can i download this widget?
Best Regards
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Mazen,

   It can be found on the Flex Viewer Code Gallery page:

http://help.arcgis.com/en/webapps/flexviewer/gallery.html

And specifically for the TOC widget here is the link:

http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8
0 Kudos
LixinHuang
Regular Contributor
I am working on a web application by Adobe Flex in Adobe Flash Builder 4.6. I would like to utilize the TOC Widget you developd my application. I would appreciate if you could tell me how I can access the widget in the application I am developing now. Thanks in advance.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Lixin,

   The directions on how to add this widget to a Flex Viewer project are included in the download from the code gallery page.
0 Kudos
LixinHuang
Regular Contributor
Lixin,

   The directions on how to add this widget to a Flex Viewer project are included in the download from the code gallery page.


Thanks for your quick reply. I may not describe my question clearly. I would like to incoporate the TOC widget in the custom Flex API application instead of Flex Viewer application. I tried to do it. However, I did not figure it out how. Any suggestions would be greatly appreciated.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Lixin,

   You are on your own when you want to use the widget outside the Flex Viewer. That would require alot of decoupling from the Flex Viewer framework.
0 Kudos
LixinHuang
Regular Contributor
Lixin,

   You are on your own when you want to use the widget outside the Flex Viewer. That would require alot of decoupling from the Flex Viewer framework.


I got it. Thanks for your help.
0 Kudos
giuseppemolinario
Deactivated User
Dear Robert,

I just saw that you made several revisions to your TOC! I also see that finally the ESRI team decided to copy it and offer some of the same tools.

So let me get this straight, your widget offers:

- Legend and TOC in the same place (a la arcmap)
- legends of classified rasters will appear
- WMS layers will appear (with legend?)
- transparency, move up and down, expand all (esri team didn't copy this one)

That's great! downloading and configuring it asap. I'll be back!

Thanks SO much!

Giuseppe


All,

   The new Flex Viewer 2.5 version of the TOC Widget is now available.

Version 2.5 - 12 Dec, 2011
* Added new Flex Viewer 2.5 Layer menu capability to TOC.
* Enhanced the visual appearance of the out of the box Flex Viewer 2.5 Layer options menu and added more options.
* You can choose to use esri's new description capability or the current functionality that the TOC Widget has for Metadata.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Giuseppe,

   Actually, esri came up with the TOC menu first, I just added more options and made it look better.
WMS layer legends are not supported.

I do look for the Flex team to add a true TOC like this to the API and/or viewer as all the other APIs have this functionality (Silverlight, JS).
0 Kudos