<?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: WebTiledLayer and PrintTask working at 10.2? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101559#M9347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I have done the change you suggested to add tile info but still coming up as blank print. You mentioned opacity as well. Do you have similar tweek for that as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2014 05:56:39 GMT</pubDate>
    <dc:creator>MandeepChauhan</dc:creator>
    <dc:date>2014-10-22T05:56:39Z</dc:date>
    <item>
      <title>WebTiledLayer and PrintTask working at 10.2?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101556#M9344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen some others discuss, but no answers. I've got a WebTiledLayer, which is working great. But, when I print using the standard Print task, the layer isn't there. I can see it's being sent over in the JSON. But, I can also see that the JSON doesn't include the LOD's. And, those should be required by the Print Task. Had anyone had success?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 19:48:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101556#M9344</guid>
      <dc:creator>deleted-user-Jie3eyjOl9XM</dc:creator>
      <dc:date>2014-07-31T19:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: WebTiledLayer and PrintTask working at 10.2?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101557#M9345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am experiencing same and trying to find if WebTiledLayer is supported for printing or not. There are no errors and just getting blank prints. If map have any other type of layer in addition to WebTiled layer then other layers are getting printed fine but not WebTiledLayer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 00:41:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101557#M9345</guid>
      <dc:creator>MandeepChauhan</dc:creator>
      <dc:date>2014-10-21T00:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: WebTiledLayer and PrintTask working at 10.2?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101558#M9346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I've worked this out. It seems like it can't be done "out of the box". The ESRI print dijit, which creates the webMapAsJson, does not include the TileInfo your the WebTiledLayer. You'll have to capture the request before it goes to the print service, and insert the TileInfo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's is roughly the way it works in my application widget:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14139110076832413" jivemacro_uid="_14139110076832413" modifiedtitle="true"&gt;
&lt;P&gt;_modifyRequestForWebTiled: function (ioArgs) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; if (ioArgs &amp;amp;&amp;amp; ioArgs.content &amp;amp;&amp;amp; ioArgs.content.Web_Map_as_JSON) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var webmapJson = JSON.parse(ioArgs.content.Web_Map_as_JSON);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (webmapJson.operationalLayers.length) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arrayUtils.forEach(webmapJson.operationalLayers, function (lyr) {&lt;/P&gt;
&lt;P&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; if (lyr.type == 'WebTiledLayer') {&lt;/P&gt;
&lt;P&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; lyr.tileInfo = this.map.getLayer(lyr.id).tileInfo;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;esriRequest.setRequestPreCallback(lang.hitch(this, '_modifyRequestForWebTiled'));&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expected this to be fixed in the 3.11 API, but it looks like you'll still need this fix at 3.11. Not, you can still run into a lot of other issues while printing WebTiledLayers. One of those is opacity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 17:06:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101558#M9346</guid>
      <dc:creator>deleted-user-Jie3eyjOl9XM</dc:creator>
      <dc:date>2014-10-21T17:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: WebTiledLayer and PrintTask working at 10.2?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101559#M9347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I have done the change you suggested to add tile info but still coming up as blank print. You mentioned opacity as well. Do you have similar tweek for that as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 05:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtiledlayer-and-printtask-working-at-10-2/m-p/101559#M9347</guid>
      <dc:creator>MandeepChauhan</dc:creator>
      <dc:date>2014-10-22T05:56:39Z</dc:date>
    </item>
  </channel>
</rss>

