<?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: Rectangle Symbol with Text in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1235223#M11498</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi Preeti,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;Or you can create a renderer with this symbol and apply renderer to the graphicsOverlay.&lt;BR /&gt;But if you are looking at using different background for different text graphics based on some attribute, I am afraid that it is currently not supported.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have a similar requirement. I need to display text from an attribute in a feature. I want to use a renderer for that featurelayer. I am using ArcGISRuntime.WPF 100.15. Does it support this feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
    <pubDate>Sun, 27 Nov 2022 23:29:23 GMT</pubDate>
    <dc:creator>EricJing</dc:creator>
    <dc:date>2022-11-27T23:29:23Z</dc:date>
    <item>
      <title>Rectangle Symbol with Text</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1108757#M10539</link>
      <description>&lt;P&gt;How would I go about creating symbols like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrianHennessey1_0-1634640143703.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25511iF33F321380FAA923/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrianHennessey1_0-1634640143703.png" alt="BrianHennessey1_0-1634640143703.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These are from a JS API map. I would like to do the same in a Runtime map. I'd prefer not to use a Dictionary Renderer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 10:45:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1108757#M10539</guid>
      <dc:creator>BrianHennessey1</dc:creator>
      <dc:date>2021-10-19T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rectangle Symbol with Text</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1108906#M10540</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is the symbol created when used in the ArcGIS API for JavaScript? (e.g. in code using the API, configured in a webmap, or published in a service)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 16:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1108906#M10540</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-10-19T16:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rectangle Symbol with Text</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1108919#M10541</link>
      <description>&lt;P&gt;It's actually 2 symbols, a text and a background:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;                textSymbol.xoffset = 0;
                textSymbol.yoffset = -6;
                textGraphic.geometry = geometry;
                textGraphic.symbol = textSymbol;
                textGraphic = addCadUnitAttributes(textGraphic, unitInfo, false);
                textGraphic.attributes["graphicType"] = graphicType;
 

                let backgroundSymbol = new SimpleMarkerSymbol();
                let outline = new SimpleLineSymbol();
                let pathHeight = 10;
                let pathWidth = 26;
             
                backgroundSymbol.setStyle(SimpleMarkerSymbol.STYPE_PATH);
                backgroundSymbol.setColor(backgroundColor);
               
          
                outline.setColor(new Color([0, 0, 0, 1]));
                outline.setWidth(0.3);
                backgroundSymbol.setOutline(outline);
                if (unitInfo.UnitNum.length &amp;lt; 4) {
                    pathWidth = 18;
                    backgroundSymbol.setSize("34");
                } else {
                    backgroundSymbol.setSize("52");
                }
                backgroundSymbol.setPath(`M 1 1 h ${pathWidth} v ${pathHeight} h -${pathWidth} z`);
              
                backgroundGraphic.geometry = geometry;
                backgroundGraphic.symbol = backgroundSymbol
                backgroundGraphic = addCadUnitAttributes(backgroundGraphic, unitInfo, true);
                backgroundGraphic.attributes["graphicType"] = graphicType;

                map.graphics.add(backgroundGraphic);
                map.graphics.add(textGraphic);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 17:05:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1108919#M10541</guid>
      <dc:creator>BrianHennessey1</dc:creator>
      <dc:date>2021-10-19T17:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rectangle Symbol with Text</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1109032#M10542</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Runtime, you can create a Graphic with text symbol with a fill background with something like following :&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var textGraphic = new Graphic(new MapPoint(0, 2, SpatialReferences.Wgs84));
textGraphic.Symbol = new TextSymbol() { Text = "Simple", Color = Color.Red, Size = 25, BackgroundColor = Color.Yellow };&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Above code will add a graphic that looks like image below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PreetiMaske_0-1634682192417.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25570iB2E2773E67D98012/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PreetiMaske_0-1634682192417.png" alt="PreetiMaske_0-1634682192417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Or you can create a renderer with this symbol and apply renderer to the graphicsOverlay.&lt;BR /&gt;But if you are looking at using different background for different text graphics based on some attribute, I am afraid that it is currently not supported.&amp;nbsp;&lt;BR /&gt;We do have this feature listed in our future candidates.&amp;nbsp;&lt;SPAN&gt;I will add your use case to our backlog issue and would appreciate if you could you please share your requirement and specific workflow with as much details as possible. An elaborate workflow&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;adds more some weight to the feature and help us prioritize it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Preeti&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 22:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1109032#M10542</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2021-10-19T22:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rectangle Symbol with Text</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1235223#M11498</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Preeti,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;Or you can create a renderer with this symbol and apply renderer to the graphicsOverlay.&lt;BR /&gt;But if you are looking at using different background for different text graphics based on some attribute, I am afraid that it is currently not supported.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have a similar requirement. I need to display text from an attribute in a feature. I want to use a renderer for that featurelayer. I am using ArcGISRuntime.WPF 100.15. Does it support this feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 23:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/rectangle-symbol-with-text/m-p/1235223#M11498</guid>
      <dc:creator>EricJing</dc:creator>
      <dc:date>2022-11-27T23:29:23Z</dc:date>
    </item>
  </channel>
</rss>

