Select to view content in your preferred language

Only one dynamic layer is visible in Flex Viewer

2165
1
08-09-2011 06:12 AM
CurtWalker
Deactivated User
I'm probably missing something obvious, but I have added two operational layers to a Flex Viewer application as follows (generic names and locations inserted):

<layer label="Group 1" type="dynamic" visible="true" alpha="1"
                   info="widgets/InfoTemplates/SimpleInfoWinWidget.swf"
                   infoconfig="widgets/InfoTemplates/IWT_Fires.xml"
url="http://map.mydomain.com/ArcGIS/rest/services/folder1/service1/MapServer"/>
            <layer label="Group 2" type="dynamic" visible="true" alpha="1"
                   info="widgets/InfoTemplates/SimpleInfoWinWidget.swf"
                   infoconfig="widgets/InfoTemplates/IWT_Fires.xml"
url="http://map.mydomain.com/ArcGIS/rest/services/folder2/service2/MapServer"/>

Only the first layer is visible when I view the application in a browser.  If I switch the order then the other one will be visible, just whichever is listed first in config.xml.

Is there a setting I'm missing that will make both of them visible?  It's as if one is masking the other but they are just points and lines.
Tags (2)
0 Kudos
1 Reply
IvanBespalov
Frequent Contributor
Curt, read more about imageFormat property for dynamic type layers.

http://forums.arcgis.com/threads/27413-layer-transparency-not-working
0 Kudos