<?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: CIMPictureMarker is unable to render data URI SVG in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1113044#M75146</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/126545"&gt;@SteveBurdette&lt;/a&gt;&amp;nbsp;- thanks again for pointing this out! This bug will be fixed in version 4.22 (planned for December).&lt;/P&gt;&lt;P&gt;Here's an example of it working on the &lt;A href="https://github.com/Esri/feedback-js-api-next" target="_self"&gt;/next&lt;/A&gt; version of the API: &lt;A href="https://codepen.io/annefitz/pen/BaZOjEo" target="_blank"&gt;https://codepen.io/annefitz/pen/BaZOjEo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 23:19:54 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2021-11-01T23:19:54Z</dc:date>
    <item>
      <title>CIMPictureMarker is unable to render data URI SVG</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1101128#M74753</link>
      <description>&lt;P&gt;We've identified that when providing an SVG as data URI for CIM picture markers nothing is rendered.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To reproduce, using the&amp;nbsp;&lt;A href="https://esri.github.io/cim-symbol-builder-js/" target="_self"&gt;CIM Symbol Builder&lt;/A&gt;:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create CIMPictureMarker using the "Custom" tab&lt;/LI&gt;&lt;LI&gt;Replace the generated URL with an SVG data URI&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Or use the following JSON:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "type": "CIMPointSymbol",
  "symbolLayers": [
    {
      "type": "CIMPictureMarker",
      "enable": true,
      "anchorPoint": {
        "x": 0,
        "y": 0
      },
      "anchorPointUnits": "Relative",
      "dominantSizeAxis3D": "Y",
      "size": 50,
      "billboardMode3D": "FaceNearPlane",
      "invertBackfaceTexture": true,
      "scaleX": 1,
      "textureFilter": "Picture",
      "tintColor": [
        255,
        255,
        255,
        255
      ],
      "url": "data&amp;amp;colon;image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48cGF0aCBmaWxsPSIjMDAwMDAwIiBkPSJNNjQwIDE4My4yM0M2NDAgMTM1LjE0IDU5OC4zOCA5NiA1NDcuMTkgOTZjLTM5LjcyIDAtNzUgMjMuNzMtODcuODQgNTkuMDZDNDU4LjIzIDE1OC4zIDQ1Mi43MiAxNzYgNDQ4IDE3NkgxOTJjLTQuNzIgMC0xMC4yMy0xNy43LTExLjM0LTIwLjk0QzE2Ny44MSAxMTkuNzMgMTMyLjUzIDk2IDkyLjgxIDk2IDQxLjYyIDk2IDAgMTM1LjE0IDAgMTgzLjIzYzAgMjkuNDUgOC4wOSA1My4zNCAzMi4zNCA3Mi43N0M3Ljkz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cuNDIgNDIuNzItMjcuNDIgMjQuNzIgMCA0NC44MSAxNy41OSA0NC44MSAzOS4yMyAwIDE3LjQ4LTQuMjggMzIuMTYtMjQuMDYgNDEuMjMtMTIuNjYgNS44My0yMC41IDE3Ljg5LTIwLjUgMzEuNTNzNy44NyAyNS43MyAyMC41IDMxLjU0eiI+PC9wYXRoPjwvc3ZnPg=="
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 07:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1101128#M74753</guid>
      <dc:creator>SteveBurdette</dc:creator>
      <dc:date>2021-09-23T07:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: CIMPictureMarker is unable to render data URI SVG</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1101137#M74754</link>
      <description>&lt;P&gt;I noticed the code formatter is replacing some characters on the SVG URI so just in case anyone actually copies it you might wanna make sure to replace "&amp;amp;colon" with an actual colon character (:)&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Sep 2021 07:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1101137#M74754</guid>
      <dc:creator>SteveBurdette</dc:creator>
      <dc:date>2021-09-23T07:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: CIMPictureMarker is unable to render data URI SVG</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1101278#M74757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/126545"&gt;@SteveBurdette&lt;/a&gt;&amp;nbsp;- thanks for pointing this out! We'll take a look.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 15:12:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1101278#M74757</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-09-23T15:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: CIMPictureMarker is unable to render data URI SVG</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1113044#M75146</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/126545"&gt;@SteveBurdette&lt;/a&gt;&amp;nbsp;- thanks again for pointing this out! This bug will be fixed in version 4.22 (planned for December).&lt;/P&gt;&lt;P&gt;Here's an example of it working on the &lt;A href="https://github.com/Esri/feedback-js-api-next" target="_self"&gt;/next&lt;/A&gt; version of the API: &lt;A href="https://codepen.io/annefitz/pen/BaZOjEo" target="_blank"&gt;https://codepen.io/annefitz/pen/BaZOjEo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 23:19:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cimpicturemarker-is-unable-to-render-data-uri-svg/m-p/1113044#M75146</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-11-01T23:19:54Z</dc:date>
    </item>
  </channel>
</rss>

