<?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: TextSymbol Border &amp;amp; Background Do Not Work For Client-Side Graphic? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1116300#M75267</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/96625"&gt;@TVlasschaert&lt;/a&gt;,&amp;nbsp;unfortunately, those properties are documented as only working when using TextSymbol with a MapImageLayer:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html#backgroundColor" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html#backgroundColor&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Down the road, we do plan on making some enhancements in this area to make those properties useful in other scenarios, like your use case.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 14:21:42 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2021-11-12T14:21:42Z</dc:date>
    <item>
      <title>TextSymbol Border &amp; Background Do Not Work For Client-Side Graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1115894#M75243</link>
      <description>&lt;P&gt;JS API 4.21:&amp;nbsp; Trying to create a TextSymbol for a Graphic in a GraphicsLayer (or the MapView.graphics) that has a background and/or a border, neither of which seem to work.&lt;/P&gt;&lt;P&gt;Basic sample:&amp;nbsp;&amp;nbsp;&lt;A href="https://jsbin.com/qurexuh/edit?html,output" target="_blank" rel="noopener"&gt;https://jsbin.com/qurexuh/edit?html,output&lt;/A&gt;&lt;/P&gt;&lt;P&gt;TextSymbol doc indicates there are supported properties:&lt;/P&gt;&lt;P&gt;- backgroundColor&lt;BR /&gt;- borderLineColor&lt;BR /&gt;- borderLineSize&lt;/P&gt;&lt;P&gt;Halo works, but setting these values seems to have no effect.&amp;nbsp; Can't find anything on it, am I missing something?&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 00:23:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1115894#M75243</guid>
      <dc:creator>TVlasschaert</dc:creator>
      <dc:date>2021-11-11T00:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: TextSymbol Border &amp; Background Do Not Work For Client-Side Graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1116300#M75267</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/96625"&gt;@TVlasschaert&lt;/a&gt;,&amp;nbsp;unfortunately, those properties are documented as only working when using TextSymbol with a MapImageLayer:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html#backgroundColor" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html#backgroundColor&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Down the road, we do plan on making some enhancements in this area to make those properties useful in other scenarios, like your use case.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 14:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1116300#M75267</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-11-12T14:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: TextSymbol Border &amp; Background Do Not Work For Client-Side Graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1116452#M75269</link>
      <description>&lt;P&gt;Ah I see now.&amp;nbsp; Shoot - but thx.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 18:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1116452#M75269</guid>
      <dc:creator>TVlasschaert</dc:creator>
      <dc:date>2021-11-12T18:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: TextSymbol Border &amp; Background Do Not Work For Client-Side Graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1116468#M75271</link>
      <description>&lt;P&gt;Yeah, I hear you. Feel free to mark my answer as the solution if you feel so inclined.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 19:17:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1116468#M75271</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-11-12T19:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: TextSymbol Border &amp; Background Do Not Work For Client-Side Graphic?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1262929#M80428</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I've found a nice workaround for the backgroundColor issue:&lt;/P&gt;&lt;P&gt;You can use the haloColor and the haloSize properties as backgroundColor.&lt;/P&gt;&lt;P&gt;Just set the color you want and set the haloSize the same as the size of the Text.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 08:26:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-border-amp-background-do-not-work-for/m-p/1262929#M80428</guid>
      <dc:creator>Guy_srb</dc:creator>
      <dc:date>2023-03-01T08:26:08Z</dc:date>
    </item>
  </channel>
</rss>

