<?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: editing TextSymbol with halo stomps on haloColor in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-textsymbol-with-halo-stomps-on-halocolor/m-p/721227#M66956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, John, for your work around. Here's my&amp;nbsp;&lt;A href="http://jsbin.com/gefidez/edit?html,output"&gt;latest jsbin&lt;/A&gt;&amp;nbsp;with your work around. You're right that after that first time the text symbol editor is created, it's able to properly read the haloColor of other text symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, in the jsbin the text symbol editor doesn't disappear when I first deactivate it. It only disappears after the second time I call deactivate(). I suppose I could just specify the&amp;nbsp;textSymbolEditorHolder and put it in a hidden div. That would allow me to use Edit.SCALE and Edit.ROTATE on TextSymbols without it messing up the haloColor. However, this automatic text symbol editor tie in with the edit tool seems like it needs more work. I'd love to just be able to turn it off in the Edit options. Even better, I could just turn off which of the three panels of the text symbol editor I don't want. I'd like to allow my users to set the foreground color, but not alignment or haloColor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Jun 2017 15:01:18 GMT</pubDate>
    <dc:creator>DougAlcorn</dc:creator>
    <dc:date>2017-06-10T15:01:18Z</dc:date>
    <item>
      <title>editing TextSymbol with halo stomps on haloColor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-textsymbol-with-halo-stomps-on-halocolor/m-p/721225#M66954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm adding a point with a TextSymbol to a map that has a haloColor and haloSize set. When I activate an Edit toolbar with either Edit.EDIT_TEXT, Edit.SCALE, or Edit.ROTATE a SymbolEditor pops up to edit the alignment, color and halo color of the symbol. The SymbolEditor correctly detects the TextSymbol's color, but does not detect the haloColo and forces it to white. Even if I use the "textSymbolEditorHolder" option to locate the SymbolEditor into a specific div with style display none, it still overrides the haloColor to be white. I don't see any way to not pop up the SymbolEditor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a jsbin that demonstrates the problem pretty simply&amp;nbsp;&lt;A href="http://jsbin.com/gefidez/5/edit"&gt;http://jsbin.com/gefidez/5/edit&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 18:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-textsymbol-with-halo-stomps-on-halocolor/m-p/721225#M66954</guid>
      <dc:creator>DougAlcorn</dc:creator>
      <dc:date>2017-06-08T18:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: editing TextSymbol with halo stomps on haloColor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-textsymbol-with-halo-stomps-on-halocolor/m-p/721226#M66955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This only happens the first time the text symbol editor is created. &amp;nbsp;One possible workaround is to activate the edit toolbar with a temp graphic and then remove it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; otherGraphic &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Graphic&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;point&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; text&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;graphics&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;otherGraphic&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
editTool&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;activate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Edit&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SCALE&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; otherGraphic&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
editTool&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;deactivate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;graphics&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;remove&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;otherGraphic&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:51:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-textsymbol-with-halo-stomps-on-halocolor/m-p/721226#M66955</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-12-12T06:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: editing TextSymbol with halo stomps on haloColor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-textsymbol-with-halo-stomps-on-halocolor/m-p/721227#M66956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, John, for your work around. Here's my&amp;nbsp;&lt;A href="http://jsbin.com/gefidez/edit?html,output"&gt;latest jsbin&lt;/A&gt;&amp;nbsp;with your work around. You're right that after that first time the text symbol editor is created, it's able to properly read the haloColor of other text symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, in the jsbin the text symbol editor doesn't disappear when I first deactivate it. It only disappears after the second time I call deactivate(). I suppose I could just specify the&amp;nbsp;textSymbolEditorHolder and put it in a hidden div. That would allow me to use Edit.SCALE and Edit.ROTATE on TextSymbols without it messing up the haloColor. However, this automatic text symbol editor tie in with the edit tool seems like it needs more work. I'd love to just be able to turn it off in the Edit options. Even better, I could just turn off which of the three panels of the text symbol editor I don't want. I'd like to allow my users to set the foreground color, but not alignment or haloColor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 15:01:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editing-textsymbol-with-halo-stomps-on-halocolor/m-p/721227#M66956</guid>
      <dc:creator>DougAlcorn</dc:creator>
      <dc:date>2017-06-10T15:01:18Z</dc:date>
    </item>
  </channel>
</rss>

