<?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 Getting the Webstyle symbols in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1302862#M81522</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to render the list of the available webstyle symbols (&lt;A href="https://developers.arcgis.com/javascript/latest/visualization/symbols-color-ramps/esri-web-style-symbols-2d/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/visualization/symbols-color-ramps/esri-web-style-symbols-2d/&lt;/A&gt;) outside the map. Is there any api which I can access to get the webstyle symbol thumbnail and the name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 08:02:36 GMT</pubDate>
    <dc:creator>KarthikeyanShanmugam</dc:creator>
    <dc:date>2023-06-26T08:02:36Z</dc:date>
    <item>
      <title>Getting the Webstyle symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1302862#M81522</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to render the list of the available webstyle symbols (&lt;A href="https://developers.arcgis.com/javascript/latest/visualization/symbols-color-ramps/esri-web-style-symbols-2d/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/visualization/symbols-color-ramps/esri-web-style-symbols-2d/&lt;/A&gt;) outside the map. Is there any api which I can access to get the webstyle symbol thumbnail and the name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 08:02:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1302862#M81522</guid>
      <dc:creator>KarthikeyanShanmugam</dc:creator>
      <dc:date>2023-06-26T08:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Webstyle symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1302998#M81527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/679436"&gt;@KarthikeyanShanmugam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can use the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-support-symbolUtils.html#renderPreviewHTML" target="_self"&gt;symbolUtils.RenderPreviewHTML&lt;/A&gt;&amp;nbsp; method to generate&amp;nbsp;a preview image of any symbol in any DOM element.&amp;nbsp; Here is a simple codepen showing it in action.&amp;nbsp;&lt;A href="https://codepen.io/sagewall/pen/XWyparb" target="_blank"&gt;https://codepen.io/sagewall/pen/XWyparb&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 14:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1302998#M81527</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-06-26T14:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Webstyle symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1303039#M81529</link>
      <description>&lt;P&gt;I'd also recommend looking at this&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=cim-marker-placement" target="_self"&gt;Adjust marker placement in polygon symbols&lt;/A&gt;&amp;nbsp;sample, specifically the &lt;FONT face="courier new,courier"&gt;initializeWebStyles&lt;/FONT&gt; function on line 271. This demonstrates how you can use &lt;FONT face="courier new,courier"&gt;esri/request&lt;/FONT&gt; to fetch the Web Style JSON, and use that to find the name and image for each symbol in the style. Hope this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 15:56:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1303039#M81529</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2023-06-26T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the Webstyle symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1304774#M81588</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115266"&gt;@AnneFitz&lt;/a&gt;&amp;nbsp;. Both of them worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 06:47:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-the-webstyle-symbols/m-p/1304774#M81588</guid>
      <dc:creator>KarthikeyanShanmugam</dc:creator>
      <dc:date>2023-06-30T06:47:48Z</dc:date>
    </item>
  </channel>
</rss>

