<?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 Labeling Dynamic Entities in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1370891#M12454</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I started working with the dynamic data source to steam data to my application as far as rendering symbols working with the dictionary renderer is great! I have an issue with labeling the symbols.&lt;/P&gt;&lt;P&gt;I want to create a label in which the first line displays an icon with the text label also the first line should have a different background from the other two lines below. Also, I want the background to have round corners...&lt;/P&gt;&lt;P&gt;is it possible to achieve?&lt;/P&gt;&lt;P&gt;Also when using the symbol dictionary one can add text symbols to it and label placement but I could not get to these keys from the runtime... is it possible?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 10:51:51 GMT</pubDate>
    <dc:creator>pinisolomon1</dc:creator>
    <dc:date>2024-01-17T10:51:51Z</dc:date>
    <item>
      <title>Labeling Dynamic Entities</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1370891#M12454</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I started working with the dynamic data source to steam data to my application as far as rendering symbols working with the dictionary renderer is great! I have an issue with labeling the symbols.&lt;/P&gt;&lt;P&gt;I want to create a label in which the first line displays an icon with the text label also the first line should have a different background from the other two lines below. Also, I want the background to have round corners...&lt;/P&gt;&lt;P&gt;is it possible to achieve?&lt;/P&gt;&lt;P&gt;Also when using the symbol dictionary one can add text symbols to it and label placement but I could not get to these keys from the runtime... is it possible?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 10:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1370891#M12454</guid>
      <dc:creator>pinisolomon1</dc:creator>
      <dc:date>2024-01-17T10:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling Dynamic Entities</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1371551#M12457</link>
      <description>&lt;P&gt;Dear pinisolomon1,&lt;/P&gt;&lt;P&gt;You can do almost anything with dictionary renderer.&lt;/P&gt;&lt;P&gt;could you please explain well what you want to do?&lt;/P&gt;&lt;P&gt;if you add some images can be helpful, because I did not get what do you mean of '&lt;SPAN&gt;first line&lt;/SPAN&gt;' .&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 11:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1371551#M12457</guid>
      <dc:creator>Amir-Sarrafzadeh-Arasi</dc:creator>
      <dc:date>2024-01-18T11:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling Dynamic Entities</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1371942#M12459</link>
      <description>&lt;P&gt;Hi Amir, thank you for responding. I meant that my label will have more than one line and I would like to format the first line differently. I'm attaching two examples.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please notice that I'm referring to the label and not the symbol of the entity, also the label displays icons and not only text.&lt;/P&gt;&lt;P&gt;Also, Is it possible to create the label in xaml?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-18 231510.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92076i14378463922A25AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-18 231510.png" alt="Screenshot 2024-01-18 231510.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-18 231400.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92075iB16BAA76EEDA2068/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-01-18 231400.png" alt="Screenshot 2024-01-18 231400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 21:24:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1371942#M12459</guid>
      <dc:creator>pinisolomon1</dc:creator>
      <dc:date>2024-01-18T21:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling Dynamic Entities</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1373281#M12475</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here are some ideas on how to achieve what you want to do regarding a custom dictionary renderer with background behind text, and labels included with text. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Placing icons and lines of text is feasible following the logic used in the &lt;A href="https://github.com/Esri/dictionary-renderer-toolkit/tree/master/dictionary_examples/Park_Amenities" target="_self"&gt;Park Amenities example&lt;/A&gt; from the dictionary toolkit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A background for text can be done with a background callout. You could achieve rounded ends by using negative top and bottom margins (to make the background polygon almost flat) and rely on a thick outline:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="b8d02fd1-3a3f-40be-ae1d-62060c20bcd0.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92469i91B909C36C79B5F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="b8d02fd1-3a3f-40be-ae1d-62060c20bcd0.png" alt="b8d02fd1-3a3f-40be-ae1d-62060c20bcd0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The left icon in the callout can be placed on top of that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The icon on the right has a placement that is dependent on the length of the text. The only way to do this would be to use a fixed-width font and make the text string available as a symbol attribute. You would then offset the icon depending on the number of characters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope that helps! Let us know if it does.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 01:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1373281#M12475</guid>
      <dc:creator>KerryRobinson</dc:creator>
      <dc:date>2024-01-23T01:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling Dynamic Entities</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1373355#M12476</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;pinisolomon1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry for the late reply,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have attached a sample project which I have done in ArcGIS Pro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please select the feature layer and check the labeling tab.&lt;BR /&gt;I defined 3 different classes with different conditions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can dynamicly modify the symbol, label, text, position, color, size, rotation, .....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You should be able to see the below image in the project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screen.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92487i4E46E8D54CB1B817/image-size/medium?v=v2&amp;amp;px=400" role="button" title="screen.png" alt="screen.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please follow the below links to understand better dynamic labeling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.1/help/mapping/text/label-using-a-composite-callout.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.1/help/mapping/text/label-using-a-composite-callout.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.1/help/mapping/text/text-formatting-tags.htmhttps://pro.arcgis.com/en/pro-app/3.1/help/mapping/text/labeling-basics.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.1/help/mapping/text/text-formatting-tags.htmhttps://pro.arcgis.com/en/pro-app/3.1/help/mapping/text/labeling-basics.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need more clarification please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best of luck&lt;/P&gt;&lt;P&gt;Amir&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 09:04:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/labeling-dynamic-entities/m-p/1373355#M12476</guid>
      <dc:creator>Amir-Sarrafzadeh-Arasi</dc:creator>
      <dc:date>2024-01-23T09:04:09Z</dc:date>
    </item>
  </channel>
</rss>

