<?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: Unique Render, Print Task not showing Picture Marker in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118921#M75353</link>
    <description>&lt;P&gt;And do you have a label defined for each class break? I would need a simplified repro case to help diagnose further I think. Are you using a framework like React or Angular? If so, it would be good to test without the framework to help narrow down the issue.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 22:07:44 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2021-11-19T22:07:44Z</dc:date>
    <item>
      <title>Unique Render, Print Task not showing Picture Marker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118431#M75335</link>
      <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;I switched from using a simple render to a unique render, but now when I print the map using the PrintTask, it's now showing the picture markers the same as before.&lt;BR /&gt;&lt;BR /&gt;This view from the PrintTask:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_0-1637273345380.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27849iC1450DD745D71892/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_0-1637273345380.png" alt="AndrewMurdoch1_0-1637273345380.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Should look something like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_1-1637273382393.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27850iEA86B51E683E7027/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_1-1637273382393.png" alt="AndrewMurdoch1_1-1637273382393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My render setting is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;field: "layer"
type: "unique-value"
uniqueValueInfos: [
	{
		label: "Market 1"
		symbol: {
			height: "20px"
			type: "picture-marker"
			url: "blah.png"
			width: "20px"
		}
		value: "someValue1"
	},
	{...},
	{...}
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did I do something wrong setting up the render?&amp;nbsp; I also noticed that if I try to map multiple things a label shows up that appears random, without a legend marker:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_2-1637273862981.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27851iF580405BF5141C3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_2-1637273862981.png" alt="AndrewMurdoch1_2-1637273862981.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would this be the Feature Layer title, or where else would that come from / can I turn it off?&amp;nbsp; I set the title to an empty string, but it's not disabling it:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    return {
      fields: this._fields,
      source: data,
      outFields: ['*'],
      objectIdField: 'ObjectID',
      geometryType: geometryType,
      spatialReference: {
        wkid: 4326
      },
      title: ''
    };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone knows about either issue, do you know how to fix it?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 22:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118431#M75335</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2021-11-18T22:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Render, Print Task not showing Picture Marker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118676#M75340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/51173"&gt;@AndrewMurdoch1&lt;/a&gt;,&amp;nbsp;for the first issue, make sure the pictureMarkerSymbol is accessible to the print service. We have this doc'ed under behavior notes:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For the second issue, I'm not sure I follow. Is the issue that a printed legend item is missing its text? If so, make that each class breaks has a label defined, like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 15:18:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118676#M75340</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-11-19T15:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Render, Print Task not showing Picture Marker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118691#M75342</link>
      <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp; - Thanks for the reply, the PictureMarker is resolved!&lt;BR /&gt;&lt;BR /&gt;The second issue is that Roads is showing up without a line in front of it.&amp;nbsp; The screen cap has Roads, and then under that (green line) Roads, which is correctly.&amp;nbsp; I don't know why 'Roads' with no green line shows up.&amp;nbsp; I'm assuming that's due to a title being generated for the Feature Layer, because if I generate multiple Feature Layers I can cause the same behaviour, for the Points or Polygon Layer.&lt;BR /&gt;&lt;BR /&gt;In the above example I have title: '' in the FeatureLayer code, which I thought should set the title to nothing.&lt;BR /&gt;&lt;BR /&gt;Hopefully that makes sense.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 15:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118691#M75342</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2021-11-19T15:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Render, Print Task not showing Picture Marker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118768#M75343</link>
      <description>&lt;P&gt;Hmmm, I'm still a bit unclear, but this might be a known issue that was recently fixed. Can you test again using next?&lt;/P&gt;&lt;PRE&gt;&amp;lt;link rel="stylesheet" href="https://js.arcgis.com/next/esri/themes/light/main.css"&amp;gt;
&amp;lt;script src="https://js.arcgis.com/next/"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_blank" rel="noopener"&gt;https://github.com/Esri/feedback-js-api-next&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:26:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118768#M75343</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-11-19T17:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Render, Print Task not showing Picture Marker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118769#M75344</link>
      <description>&lt;P&gt;Yes, I'll run the test in a bit.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:27:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118769#M75344</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2021-11-19T17:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Render, Print Task not showing Picture Marker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118851#M75348</link>
      <description>&lt;P&gt;Good Day&lt;BR /&gt;&lt;BR /&gt;I ran the test again, this time setting arcgis/core to 'next' instead of 4.21.2 in package.json, I still have the same problem:&lt;BR /&gt;&lt;BR /&gt;4.21.2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_0-1637352171243.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27950iF334E2CB8EE3F47E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_0-1637352171243.png" alt="AndrewMurdoch1_0-1637352171243.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_1-1637352195237.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27951i2BFE1C8633C40E95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_1-1637352195237.png" alt="AndrewMurdoch1_1-1637352195237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I also confirmed that the title on each Feature Layer is set to ''.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 20:04:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118851#M75348</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2021-11-19T20:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Render, Print Task not showing Picture Marker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118921#M75353</link>
      <description>&lt;P&gt;And do you have a label defined for each class break? I would need a simplified repro case to help diagnose further I think. Are you using a framework like React or Angular? If so, it would be good to test without the framework to help narrow down the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 22:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118921#M75353</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-11-19T22:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Render, Print Task not showing Picture Marker</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118926#M75355</link>
      <description>&lt;P&gt;If you give me a few days I'll adapt my test repo to replicate the issue.&amp;nbsp; We're using Angular 12, and the test repo is also using Angular 12.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Every class break has a label&lt;/P&gt;&lt;PRE&gt;        uniqueValueInfo.push({
          value: renderKey,
          label: renderKey,
          symbol: {
            type: renderType,
            color: mapData.attributes.colour,
            size: 12,
            width: 3,
            outline: {
              width: 4,
              color: mapData.attributes.colour,
            }
          }
        })&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Render Key can never be null.&amp;nbsp; I'll see what I can get you mid next week.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 22:12:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unique-render-print-task-not-showing-picture/m-p/1118926#M75355</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2021-11-19T22:12:48Z</dc:date>
    </item>
  </channel>
</rss>

