Select to view content in your preferred language

Table of Contents - Legend Widget for FlexViewer 2.x

168562
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
Coneje,

  Go to your http://YourServer/ArcGIS/rest/services and it should look something like this:

[ATTACH=CONFIG]10649[/ATTACH]
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Harold,

   Do you have the source code for the selection widget? The way esri is handling this is adding "hiddenLayer_" to the name of the layer.
0 Kudos
ConejeSapiens
Emerging Contributor
ok, Robert,
the version I see in this URL is 10.0

------------------------

Coneje,

  Go to your http://YourServer/ArcGIS/rest/services and it should look something like this:

[ATTACH=CONFIG]10649[/ATTACH]
0 Kudos
ConejeSapiens
Emerging Contributor
ok, Robert,
the version I see in this URL is 10.0

------------------------

Coneje,

  Go to your http://YourServer/ArcGIS/rest/services and it should look something like this:

[ATTACH=CONFIG]10649[/ATTACH]
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Coneje,

  You might not see all the symbology properly in the TOC Widget until you apply at least service pack 1 to ArcGIS Server. There are 3 service packs out for ArcGIS Server 10. I would recommend that you apply SP3 now.
0 Kudos
ConejeSapiens
Emerging Contributor
ok, we will try with an upgrade of the service pack in the server.

Thanks!!

Coneje,

  You might not see all the symbology properly in the TOC Widget until you apply at least service pack 1 to ArcGIS Server. There are 3 service packs out for ArcGIS Server 10. I would recommend that you apply SP3 now.
0 Kudos
ConejeSapiens
Emerging Contributor
Hi again, Robert,
just telling you that we upgraded the server to SP3 and the problem is solved.
That was the solution, as you suggested.

Thanks, really!!
0 Kudos
AshleyPeters
Frequent Contributor
Hi Robert,

I have layers that are only visible at certain scales. Is it possible to have these layers only show in the legend when they are visible in the map?

Thanks for your help!

Ashley
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ashley,

   Scale dependent layers are respected by the legend and are visible but disabled (grayed out) and have a special checkbox icon like ArcMap that shows they are scale disabled. You can see this behavior in the live demo site of my widget (look at Parcel Data).
0 Kudos
AshleyPeters
Frequent Contributor
Robert,

I noticed that. I'd like for the scale-dependent layers to not show in the legend until they are visible on the map. That may not be possible or easily accomplished. I'm still pretty new at this.

Thanks for your quick reply!

Ashley
0 Kudos