<?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 Label Symbol for Interstate in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1391921#M83878</link>
    <description>&lt;P&gt;I have a line feature that I want to Label with an interstate symbol and put text in it from a field...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure how to so this with Javascript Api 4.x&lt;/P&gt;&lt;P&gt;I see here that you can label by creating a label class and applying it to the Feature Layer but not sure how to make it an interstate Shield and populate the text via a field value&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/labels-basic/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/labels-basic/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 16:06:43 GMT</pubDate>
    <dc:creator>kapalczynski</dc:creator>
    <dc:date>2024-03-06T16:06:43Z</dc:date>
    <item>
      <title>Create Label Symbol for Interstate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1391921#M83878</link>
      <description>&lt;P&gt;I have a line feature that I want to Label with an interstate symbol and put text in it from a field...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure how to so this with Javascript Api 4.x&lt;/P&gt;&lt;P&gt;I see here that you can label by creating a label class and applying it to the Feature Layer but not sure how to make it an interstate Shield and populate the text via a field value&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/labels-basic/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/labels-basic/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 16:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1391921#M83878</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2024-03-06T16:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Label Symbol for Interstate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1392852#M83902</link>
      <description>&lt;P&gt;Maybe a Picture &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-MarkerSymbol.html" target="_self"&gt;Marker Symbol&lt;/A&gt;?&amp;nbsp; Maybe play around in the &lt;A href="https://developers.arcgis.com/javascript/latest/visualization/symbols-color-ramps/symbol-builder/" target="_self"&gt;symbol builder&lt;/A&gt;?&amp;nbsp;&amp;nbsp;Honestly it might be easiest to create in Pro and host it.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 21:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1392852#M83902</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2024-03-07T21:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Label Symbol for Interstate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1392863#M83903</link>
      <description>&lt;P&gt;It looks to be possible, but I'm not sure how to implement it. I've not worked with CIMSymbol.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/visualization/symbols-color-ramps/esri-web-style-symbols-2d/#shields" target="_blank" rel="noopener"&gt;Esri Web Style Symbols (2D) | Overview | ArcGIS Maps SDK for JavaScript 4.29 | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Maybe this &lt;A href="https://mediaspace.esri.com/media/t/1_s9vkuyf5" target="_self"&gt;video demo on&amp;nbsp;Dynamic Vector Symbology&lt;/A&gt; will help.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 21:42:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1392863#M83903</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2024-03-07T21:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create Label Symbol for Interstate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1392961#M83908</link>
      <description>&lt;P&gt;As Matt suggested, I too would recommend the use of &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html" target="_self"&gt;CIMSymbols&lt;/A&gt; and the &lt;A href="https://sagewall.github.io/symbol-builder/cim-symbol/" target="_self"&gt;symbol builder app&lt;/A&gt;&amp;nbsp;which is a great way to help us get started. I used the symbol builder to mock up the symbol json for the line layer and then I updated one of the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/cim-lines-and-polygons/" target="_self"&gt;samples&lt;/A&gt; to create this &lt;A href="https://codepen.io/john-grayson/pen/ExJPgJb" target="_self"&gt;CodePen&lt;/A&gt;, which I then further tweaked to connect the label text to a feature attribute via the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html#PrimitiveOverride" target="_self"&gt;primitive overrides&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/arcade/" target="_self"&gt;Arcade&lt;/A&gt;.&amp;nbsp; Hopefully these links will help in your task.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 00:14:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-label-symbol-for-interstate/m-p/1392961#M83908</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2024-03-08T00:14:59Z</dc:date>
    </item>
  </channel>
</rss>

