<?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 exclude a map layer from the print task in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444695#M41066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how I can exclude a map layer from a print task?&amp;nbsp; I have an operational layer on my map, but don't want to include it in the resulting print.&amp;nbsp;&amp;nbsp;&amp;nbsp; I am passing a PrintParameters object to the print task.&amp;nbsp; I am assigning the Map object to the printparameters.map property.&amp;nbsp; I can remove a layer id from Map object, print the map, then add the layer id back to the Map object, but what I would really like to do is just remove the layer from the print.&amp;nbsp; I don't see how I can do this without cloning the entire Map object, removing the layer, and then assigning the cloned object to printparameters.map.&amp;nbsp; There must be a better way!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 19:55:17 GMT</pubDate>
    <dc:creator>SebastianRoberts</dc:creator>
    <dc:date>2015-08-28T19:55:17Z</dc:date>
    <item>
      <title>exclude a map layer from the print task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444695#M41066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how I can exclude a map layer from a print task?&amp;nbsp; I have an operational layer on my map, but don't want to include it in the resulting print.&amp;nbsp;&amp;nbsp;&amp;nbsp; I am passing a PrintParameters object to the print task.&amp;nbsp; I am assigning the Map object to the printparameters.map property.&amp;nbsp; I can remove a layer id from Map object, print the map, then add the layer id back to the Map object, but what I would really like to do is just remove the layer from the print.&amp;nbsp; I don't see how I can do this without cloning the entire Map object, removing the layer, and then assigning the cloned object to printparameters.map.&amp;nbsp; There must be a better way!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444695#M41066</guid>
      <dc:creator>SebastianRoberts</dc:creator>
      <dc:date>2015-08-28T19:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: exclude a map layer from the print task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444696#M41067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you not want the layer to show up on the map or the legend in the print-out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:10:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444696#M41067</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2015-08-28T20:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: exclude a map layer from the print task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444697#M41068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could simply set the visiblity of the layer to false, before passing the map to the print task and on print task complete you can turn the layer back on again. Thats what we do in our application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:19:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444697#M41068</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2015-08-28T20:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: exclude a map layer from the print task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444698#M41069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't' want the layer to show on the map (and the legend in that case).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444698#M41069</guid>
      <dc:creator>SebastianRoberts</dc:creator>
      <dc:date>2015-08-28T20:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: exclude a map layer from the print task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444699#M41070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't that confusing to the enduser to see a layer on the electronic map, but not the print-out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:32:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444699#M41070</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2015-08-28T20:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: exclude a map layer from the print task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444700#M41071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, not in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:38:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exclude-a-map-layer-from-the-print-task/m-p/444700#M41071</guid>
      <dc:creator>SebastianRoberts</dc:creator>
      <dc:date>2015-08-28T20:38:53Z</dc:date>
    </item>
  </channel>
</rss>

