Select to view content in your preferred language

Table of Contents - Legend Widget for FlexViewer 2.x

186701
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
Karl,

  In my legend it shows like that because it is a RasterCatalog and not an individual raster.
0 Kudos
KarlWilson
Frequent Contributor
Thanks Robert,

So apart from putting my images in a Raster Catalog, I guess there's no way of stopping the Legend displaying the RGB colours?
0 Kudos
JamesKo
Occasional Contributor
Hi Robert,

I think I may have found a bug. It only happens when you expand the first item in the toc. The metadatatooltip pops up when it shouldn't or at least I think it shouldn't.

Regards,
James
0 Kudos
AjayArcot
Emerging Contributor
I am having some issues, the TOC comes up with the layers but without the associated symbology.. And the "Generating TOC Legend" keeps on running, any help on this? Thanks
Aj
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ajay,

   And you are using ArcGIS Server 10 and above as the details state are required right?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

   So the first layer in the TOC does not have a description (metadata) button before you click the expand node and then it does? When you click on it what happens?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Karl,

  Correct as the RGB is the correct legend that should be displaying.
0 Kudos
AjayArcot
Emerging Contributor
Hi Robert, yes we are using server V10 with SP2, I have tried using single layers (services) at a time still the problem is there.. Thanks for your time on this.
Regards Ajay
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ajay,

   Can you post your config.xml and your TOCWidget.xml?
0 Kudos
AjayArcot
Emerging Contributor
Hi Robert, the config & TOCwidget xmls' are attached. Please let me know if I have missed something. Regards Ajay
0 Kudos