<?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 Create a graphic with an embedded shape inside and a custom color fill in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-graphic-with-an-embedded-shape-inside-and/m-p/1675379#M88018</link>
    <description>&lt;P&gt;I am trying to create a custom truck graphic with a "gear" inside to indicate a truck that is being serviced (see attached SVG). I need the ability to do the following 2 things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Render the outline of the truck with the solid black gear inside&lt;/LI&gt;&lt;LI&gt;Custom fill the various instances of this graphic with different colors&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Ideally, I would prefer to do this via SVG. But it seems this is likely not achievable given the solid "gear" inside the truck. I am open to any other solutions (.png, etc...) if I can achieve the previous 2 bullet points&lt;/P&gt;</description>
    <pubDate>Tue, 30 Dec 2025 22:12:59 GMT</pubDate>
    <dc:creator>JimBambrough</dc:creator>
    <dc:date>2025-12-30T22:12:59Z</dc:date>
    <item>
      <title>Create a graphic with an embedded shape inside and a custom color fill</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-graphic-with-an-embedded-shape-inside-and/m-p/1675379#M88018</link>
      <description>&lt;P&gt;I am trying to create a custom truck graphic with a "gear" inside to indicate a truck that is being serviced (see attached SVG). I need the ability to do the following 2 things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Render the outline of the truck with the solid black gear inside&lt;/LI&gt;&lt;LI&gt;Custom fill the various instances of this graphic with different colors&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Ideally, I would prefer to do this via SVG. But it seems this is likely not achievable given the solid "gear" inside the truck. I am open to any other solutions (.png, etc...) if I can achieve the previous 2 bullet points&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 22:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-graphic-with-an-embedded-shape-inside-and/m-p/1675379#M88018</guid>
      <dc:creator>JimBambrough</dc:creator>
      <dc:date>2025-12-30T22:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a graphic with an embedded shape inside and a custom color fill</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-graphic-with-an-embedded-shape-inside-and/m-p/1675464#M88023</link>
      <description>&lt;P&gt;You should be able to accomplish this with &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html" target="_blank" rel="noopener"&gt;CIMSymbol&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Here is an older blog post that walks through the process of converting SVG to CIM using the CIMSymbolBuilder.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/upload-symbols-from-svg-in-the-updated-cim-symbol-builder" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/upload-symbols-from-svg-in-the-updated-cim-symbol-builder&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://esri.github.io/cim-symbol-builder-js/" target="_blank" rel="noopener"&gt;CIMSymbolBuilder&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/?tagged=CIMSymbol" target="_blank" rel="noopener"&gt;Samples&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 31 Dec 2025 17:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-graphic-with-an-embedded-shape-inside-and/m-p/1675464#M88023</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2025-12-31T17:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create a graphic with an embedded shape inside and a custom color fill</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-graphic-with-an-embedded-shape-inside-and/m-p/1675653#M88026</link>
      <description>&lt;P&gt;Yes, I ended up using CIMSymbol. It look me a bit of scouring the API and documentation, but this ended up working. Thank you so much for your response!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 16:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-a-graphic-with-an-embedded-shape-inside-and/m-p/1675653#M88026</guid>
      <dc:creator>JimBambrough</dc:creator>
      <dc:date>2026-01-02T16:44:55Z</dc:date>
    </item>
  </channel>
</rss>

