Select to view content in your preferred language

Layer Transparency for LiveMapsWidget in Flex 2.2

775
7
01-14-2011 06:48 AM
JamesKo
Occasional Contributor
What happened to the Layer Transparency option in the LiveMaps Widget in the Flex 2.2 Viewer?

In version 1.3, users were able to change the transparency for each layer...any help would be appreciated.
Tags (2)
0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus
James,
   
    I guess you are taking about the layerListWidget in 2.2...? Well anyway the transparency slider thing was overlooked for some reason. I did create a TOC and legend widget that has an opacity slider for all map services.

http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8
0 Kudos
JamesKo
Occasional Contributor
Thank you Robert! As always, your presence on this forum is greatly appreciated.
0 Kudos
JamesKo
Occasional Contributor
Robert,

I'm having trouble getting this widget to work. It compiles without problems but I'm getting an error message at line 292: function getFeatureResult, filterOutSubLayer (Error #1009: Cannot access a property or method of a null object reference.)

Any ideas?

fyi, I'm using the uncompiled version.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

what does your TOCWidget.xml look like?
0 Kudos
JamesKo
Occasional Contributor
<configuration>
<labels>
  <visibilitylabel>Layer Visibility</visibilitylabel>
  <legendlabel>Show Dynamic Map Legend</legendlabel>
</labels>
<tocSettings>
  <expanded>true</expanded>
</tocSettings>
<LegendexcludeLayers>
  <LegendexcludeLayer></LegendexcludeLayer>
</LegendexcludeLayers>
<excludeGraphicLayers>true</excludeGraphicLayers>
<excludeBasemapLayers>true</excludeBasemapLayers>
</configuration>
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
James,

   Do you have layers in your main config.xml that are type="feature" and are pointing to a non 10 server?
0 Kudos
JamesKo
Occasional Contributor
Robert,

That was it! I had one layer of type "feature" pointing to an incorrect service.

Thank you very much for your time.

James
0 Kudos