<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Map service layers in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326958#M9473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Gottsegen &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a dynamic map service with 11 layers. I'm trying to display one layer in flex viewer. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To draw just some layers within a mapservice, use the visiblelayers property (a comma-separated list):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Regions" type="dynamic" visible="true" alpha="0.5"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;visiblelayers="2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.9.5.18/ArcGIS/rest/services/regions_gov_office_OED/MapServer" rel="nofollow" target="_blank"&gt;http://10.9.5.18/ArcGIS/rest/services/regions_gov_office_OED/MapServer&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/The_Layer_tag/01m30000000p000000/"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/The_Layer_tag/01m30000000p000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2011 05:44:17 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2011-05-20T05:44:17Z</dc:date>
    <item>
      <title>Map service layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326957#M9472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A very similar question was posted in another thread, but I didn't see an answer, and there's got to be a simple solution. I have a dynamic map service with 11 layers. I'm trying to display one layer in flex viewer. I have the following in the operationallayers section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer label="Regions" type="dynamic" visible="true" alpha="0.5"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.9.5.18/ArcGIS/rest/services/regions_gov_office_OED/MapServer/2/" rel="nofollow" target="_blank"&gt;http://10.9.5.18/ArcGIS/rest/services/regions_gov_office_OED/MapServer/2/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried it without the layer number and any other way I can think of. The layer does not show up. The service is listed in the TOC, with no ability to expand and see the name of a layer being show. Clicking on the check box in the TOC doesn't display anything. It seems so simple. what am I missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 22:49:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326957#M9472</guid>
      <dc:creator>JonGottsegen</dc:creator>
      <dc:date>2011-05-19T22:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Map service layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326958#M9473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Gottsegen &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a dynamic map service with 11 layers. I'm trying to display one layer in flex viewer. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To draw just some layers within a mapservice, use the visiblelayers property (a comma-separated list):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Regions" type="dynamic" visible="true" alpha="0.5"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;visiblelayers="2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://10.9.5.18/ArcGIS/rest/services/regions_gov_office_OED/MapServer" rel="nofollow" target="_blank"&gt;http://10.9.5.18/ArcGIS/rest/services/regions_gov_office_OED/MapServer&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/The_Layer_tag/01m30000000p000000/"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/The_Layer_tag/01m30000000p000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 05:44:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326958#M9473</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-05-20T05:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Map service layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326959#M9474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Dude. That worked. I guess those Krav Maga sessions back in the day helped...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So is it possible, to have a "sublayer" (i.e., a layer in a service) be treated as an individual layer in the viewer. Right now, when I add the service all the layers become available (which seems like even that didn't work before), but what if I want to treat each layer separately (e.g., with a transparency widget), and I don't want to separate them out into individual services? Is this only possible with feature services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 15:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326959#M9474</guid>
      <dc:creator>JonGottsegen</dc:creator>
      <dc:date>2011-05-20T15:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Map service layers</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326960#M9475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not familiar with a transparency widget, but in general (for TOC etc) you have two options: &lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;add multiple layers of type "dynamic" (and set the visiblelayers property to an individual sublayer) &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;or use multiple layers of type "feature" (which always only point to individual sublayers). &lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;The main difference between these is that the "dynamic" maps are drawn on the server and sent to your browser as an image, while for "feature" the features are sent from the server as features, then drawn in the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that currently (ArcGIS 10.0), the REST API doesn't support changing transparency on sub-layers, which is why you have to ask for multiple layers separately if you want them to have different transparencies (on-the-fly).&amp;nbsp; With the next release of ArcGIS, 10.1, this might change.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 16:09:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/map-service-layers/m-p/326960#M9475</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2011-05-20T16:09:57Z</dc:date>
    </item>
  </channel>
</rss>

