<?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: viewing two layers in the map. in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/viewing-two-layers-in-the-map/m-p/337752#M8095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#imageFormat"&gt;ArcGISDynamicMapServiceLayer # imageFormat&lt;/A&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The output image type. Valid types are: png8 | png24 | png32 | jpg | gif. Only png and gif formats support transparency.&lt;BR /&gt;&lt;BR /&gt;The default value is png8.&lt;BR /&gt;&lt;BR /&gt;This property can be used as the source for data binding.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/export.html"&gt;ArcGIS Server REST API # Export Map (Operation) # format&lt;/A&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The format of the exported image. The default format is png.&lt;BR /&gt;&lt;BR /&gt;Values: png | png8 | png24 | jpg | pdf | bmp | gif | svg | png32&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - So when you add &lt;/SPAN&gt;&lt;STRONG&gt;imageFormat="png32"&lt;/STRONG&gt;&lt;SPAN&gt; to &lt;/SPAN&gt;&lt;STRONG&gt;ArcGISDynamicMapServiceLayer&lt;/STRONG&gt;&lt;SPAN&gt; tag you can see layers with the same transparency as they are in ArcMap [ATTACH=CONFIG]19475[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - If layers in ArcMap are not transparent play with &lt;/SPAN&gt;&lt;A href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html#alpha"&gt;alpha&lt;/A&gt;&lt;SPAN&gt; property of &lt;/SPAN&gt;&lt;STRONG&gt;ArcGISDynamicMapServiceLayer&lt;/STRONG&gt;&lt;SPAN&gt; component.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Nov 2012 09:47:51 GMT</pubDate>
    <dc:creator>IvanBespalov</dc:creator>
    <dc:date>2012-11-22T09:47:51Z</dc:date>
    <item>
      <title>viewing two layers in the map.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/viewing-two-layers-in-the-map/m-p/337751#M8094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have published two Map services&amp;nbsp; on ARCGIS server. however when i used following code: i can only see one not the other. how can i see both&amp;nbsp; .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:Map id="myMap"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; id="myLayer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:6080/arcgis/rest/services/rasteronly_7nov/MapServer" rel="nofollow" target="_blank"&gt;http://localhost:6080/arcgis/rest/services/rasteronly_7nov/MapServer&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; id="myLayern"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:6080/arcgis/rest/services/Wexford_model_layers_withoutdensity_21nov/MapServer" rel="nofollow" target="_blank"&gt;http://localhost:6080/arcgis/rest/services/Wexford_model_layers_withoutdensity_21nov/MapServer&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/esri:Map&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 16:43:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/viewing-two-layers-in-the-map/m-p/337751#M8094</guid>
      <dc:creator>NadeemQazi</dc:creator>
      <dc:date>2012-11-21T16:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: viewing two layers in the map.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/viewing-two-layers-in-the-map/m-p/337752#M8095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#imageFormat"&gt;ArcGISDynamicMapServiceLayer # imageFormat&lt;/A&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The output image type. Valid types are: png8 | png24 | png32 | jpg | gif. Only png and gif formats support transparency.&lt;BR /&gt;&lt;BR /&gt;The default value is png8.&lt;BR /&gt;&lt;BR /&gt;This property can be used as the source for data binding.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/export.html"&gt;ArcGIS Server REST API # Export Map (Operation) # format&lt;/A&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The format of the exported image. The default format is png.&lt;BR /&gt;&lt;BR /&gt;Values: png | png8 | png24 | jpg | pdf | bmp | gif | svg | png32&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - So when you add &lt;/SPAN&gt;&lt;STRONG&gt;imageFormat="png32"&lt;/STRONG&gt;&lt;SPAN&gt; to &lt;/SPAN&gt;&lt;STRONG&gt;ArcGISDynamicMapServiceLayer&lt;/STRONG&gt;&lt;SPAN&gt; tag you can see layers with the same transparency as they are in ArcMap [ATTACH=CONFIG]19475[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - If layers in ArcMap are not transparent play with &lt;/SPAN&gt;&lt;A href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html#alpha"&gt;alpha&lt;/A&gt;&lt;SPAN&gt; property of &lt;/SPAN&gt;&lt;STRONG&gt;ArcGISDynamicMapServiceLayer&lt;/STRONG&gt;&lt;SPAN&gt; component.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 09:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/viewing-two-layers-in-the-map/m-p/337752#M8095</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-11-22T09:47:51Z</dc:date>
    </item>
  </channel>
</rss>

