<?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: Export request return image with default visible layers, not blank image in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-request-return-image-with-default-visible/m-p/609580#M2923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pau,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try setting the "layers" parameter to "show:-1" in the case where the TOC turns all layers off?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Aug 2010 19:30:48 GMT</pubDate>
    <dc:creator>ThomasHill</dc:creator>
    <dc:date>2010-08-20T19:30:48Z</dc:date>
    <item>
      <title>Export request return image with default visible layers, not blank image</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-request-return-image-with-default-visible/m-p/609579#M2922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made a HTML viewer with the API Javascript 2.0, with a TOC that can turn on/off layers for each service. The problem is when you turn off all layers in one service, this service visualize default layers, instead of a blank image. The request in the viewer, when not all layers are off:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://myServer:8399/arcgis/rest/services/intranet/playas/MapServer/export?dpi=96&amp;amp;transparent=true&amp;amp;format=png8&amp;amp;bbox=707360.4869228919,4359862.32420264,737840.5478830138,4381460.304898601&amp;amp;bboxSR=23030&amp;amp;imageSR=23030&amp;amp;size=1280,907&amp;amp;layers=show:0,1&amp;amp;f=image" rel="nofollow" target="_blank"&gt;http://myServer:8399/arcgis/rest/services/intranet/playas/MapServer/export?dpi=96&amp;amp;transparent=true&amp;amp;format=png8&amp;amp;bbox=707360.4869228919,4359862.32420264,737840.5478830138,4381460.304898601&amp;amp;bboxSR=23030&amp;amp;imageSR=23030&amp;amp;size=1280,907&amp;amp;layers=show:0,1&amp;amp;f=image&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Returned image: with layers ids 0 and 1 visibles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the request when all layers are turn off:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://myServer:8399/arcgis/rest/services/intranet/playas/MapServer/export?dpi=96&amp;amp;transparent=true&amp;amp;format=png8&amp;amp;bbox=707360.4869228919,4359862.32420264,737840.5478830138,4381460.304898601&amp;amp;bboxSR=23030&amp;amp;imageSR=23030&amp;amp;size=1280,907&amp;amp;layers=show:&amp;amp;f=image" rel="nofollow" target="_blank"&gt;http://myServer:8399/arcgis/rest/services/intranet/playas/MapServer/export?dpi=96&amp;amp;transparent=true&amp;amp;format=png8&amp;amp;bbox=707360.4869228919,4359862.32420264,737840.5478830138,4381460.304898601&amp;amp;bboxSR=23030&amp;amp;imageSR=23030&amp;amp;size=1280,907&amp;amp;layers=show:&amp;amp;f=image&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Returnes image: default layers visibles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone known what's the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pau Pérez&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 09:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-request-return-image-with-default-visible/m-p/609579#M2922</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2010-08-20T09:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Export request return image with default visible layers, not blank image</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-request-return-image-with-default-visible/m-p/609580#M2923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pau,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try setting the "layers" parameter to "show:-1" in the case where the TOC turns all layers off?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 19:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-request-return-image-with-default-visible/m-p/609580#M2923</guid>
      <dc:creator>ThomasHill</dc:creator>
      <dc:date>2010-08-20T19:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Export request return image with default visible layers, not blank image</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-request-return-image-with-default-visible/m-p/609581#M2924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made a request with show:-1 and work fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pau.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Sep 2010 06:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/export-request-return-image-with-default-visible/m-p/609581#M2924</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2010-09-06T06:42:26Z</dc:date>
    </item>
  </channel>
</rss>

