<?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: font-awesome markers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1202963#M78301</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/577226"&gt;@FabianHanggi&lt;/a&gt;, unfortunately, Bjorn is correct and there is not a good way to use font awesome in a 2D MapView. It would work in a 3D SceneView as described in the Labeling guide page.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Aug 2022 17:28:41 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2022-08-15T17:28:41Z</dc:date>
    <item>
      <title>font-awesome markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1200068#M78199</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'd like to use font awesome icons as markers. I'm using arcgis 4.24.5.&lt;/P&gt;&lt;P&gt;i tried to follow this exmaple from @&lt;SPAN&gt;ReneRubalcava&lt;/SPAN&gt;&amp;nbsp; but it is not working&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/gis-blog/label-markers-for-you-arcgis-javascript-apps/ba-p/894206" target="_blank"&gt;https://community.esri.com/t5/gis-blog/label-markers-for-you-arcgis-javascript-apps/ba-p/894206&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i'm seeing&amp;nbsp; this error in the console&lt;/P&gt;&lt;P&gt;request.js:5 GET &lt;A href="https://static.arcgis.com/fonts/fontawesome-regular/61696-61951.pbf" target="_blank"&gt;https://static.arcgis.com/fonts/fontawesome-regular/61696-61951.pbf&lt;/A&gt; 404&lt;/P&gt;&lt;P&gt;Not sure why it's looking for a pbf file on static.arcgis.com&lt;/P&gt;&lt;P&gt;Does anyone have an example for how to use font awesome icons as symbols in a graphic?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 21:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1200068#M78199</guid>
      <dc:creator>FabianHanggi</dc:creator>
      <dc:date>2022-08-05T21:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: font-awesome markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1200092#M78200</link>
      <description>&lt;P&gt;That Rene sample is 7 years old with a very different version of the JavaScript API.&amp;nbsp; It does not apply to recent versions.&lt;/P&gt;&lt;P&gt;For symbolizing points, you have four options:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html" target="_self"&gt;SimpleMarkerSymbol&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PictureMarkerSymbol.html" target="_self"&gt;PictureMarkerSymbol&lt;/A&gt;&amp;nbsp;, &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html" target="_self"&gt;TextSymbol&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html" target="_self"&gt;CIMSymbol&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To specify a font for TextSymbol for clientside layers, the fonts supported depends on if you are using SceneView or MapView.&amp;nbsp; For SceneView, the font needs to be installed on the client machine.&amp;nbsp; For MapView, supported fonts are hosted on &lt;A href="https://static.arcgis.com/fonts" target="_blank"&gt;https://static.arcgis.com/fonts&lt;/A&gt;.&amp;nbsp; Based on your error it seems like you are using MapView.&amp;nbsp; The supported fonts are listed at&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/labeling/#fonts-for-featurelayer-csvlayer-and-streamlayer" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/labeling/#fonts-for-featurelayer-csvlayer-and-streamlayer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/labeling/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/labeling/&lt;/A&gt;&amp;nbsp;has more info about font support.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 22:33:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1200092#M78200</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2022-08-05T22:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: font-awesome markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1201477#M78248</link>
      <description>&lt;P&gt;Hi Bjorn&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Yes I am using Mapview.&lt;/P&gt;&lt;P&gt;Since font awesome is not listed as a supported font I guess there's no way to use it with a TextSymbol?&lt;/P&gt;&lt;P&gt;I have one solution but don't like it very much. I download the svg file from fontawesome web site and put it into my public folder (e.g. mine is called truck-solid.svg) then use it like this this&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;track&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;Track&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&l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&amp;nbsp; &amp;nbsp; &amp;nbsp; color&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;green&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;truck-solid.svg&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; outline&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;#efefef&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;1.5px&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;}),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; useHeadingEnabled&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Any better solutions for using fontawesome would be appreciated.&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;DIV&gt;Fabian&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Aug 2022 18:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1201477#M78248</guid>
      <dc:creator>FabianHanggi</dc:creator>
      <dc:date>2022-08-10T18:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: font-awesome markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1202963#M78301</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/577226"&gt;@FabianHanggi&lt;/a&gt;, unfortunately, Bjorn is correct and there is not a good way to use font awesome in a 2D MapView. It would work in a 3D SceneView as described in the Labeling guide page.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 17:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/font-awesome-markers/m-p/1202963#M78301</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-08-15T17:28:41Z</dc:date>
    </item>
  </channel>
</rss>

