Select to view content in your preferred language

Dynamic Legend

800
6
11-02-2010 03:56 AM
PrestigeMakanga
Deactivated User
Is there anyone with a dynamic legend widget for the new viewer?

Regards
Prestige
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
Prestige,

   You need to look at the code gallery.

http://help.arcgis.com/en/webapps/flexviewer/gallery.html
0 Kudos
RayGreen
Emerging Contributor
Robert,

Is there a version that will work with Flex 2.1 and ArcGIS 9.3.1?  I assume that this one will not work with that combination?

Thanks,

Ray
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ray,

   Nope, there is not one of FlexViewer 2.1 and Server 9.3.x.
0 Kudos
RayGreen
Emerging Contributor
Reason #4523 to keep bothering people for the upgrade.  Thanks Robert!


Ray
0 Kudos
NadeemShaukat
Deactivated User
Prestige,

   You need to look at the code gallery.

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


Robert,

I installed the source in my project. My web service in on ArcGIS Server 10. I declared my web service in the config.xml file within <operationlayers> block as the following.

<layer label="MyLayers" type="feature" visible="false"
             url="http://66.60.222.111/ArcGIS/rest/services/MyGIS/MapServer"/>

My DynamicLegengWidget.xm looks like this.

<?xml version="1.0" ?>
<excludeLayers>
  <excludeLayers mapservice="MyLayers"> </excludeLayer>
</excludeLayers>
<excludeGraphicLayers>true</excludeGraphicLayers>
</configuration>

When I run the program, I get Error #2035.

Where I am wron. Can you please help?

nshaukat
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
nshaukat,

You have a syntax error in your xml.

<excludeLayers>
<excludeLayers mapservice="MyLayers"> </excludeLayer>
</excludeLayers>

The beginning and closing element name have to identical and that particular element is suppose to be excludeLayer not excludeLayers.
0 Kudos