<?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: How add label in Feature Collection Layer which I have created... in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-add-label-in-feature-collection-layer-which-i/m-p/312489#M1556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added it as&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;dynamic_cast&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #800080;"&gt;FeatureLayer&lt;/SPAN&gt;*&amp;gt;(&lt;SPAN style="color: #092e64;"&gt;collectionLayer&lt;/SPAN&gt;-&amp;gt;&lt;SPAN style="color: #00677c;"&gt;layers&lt;/SPAN&gt;().&lt;SPAN style="color: #00677c;"&gt;at&lt;/SPAN&gt;(&lt;SPAN style="color: #000080;"&gt;0&lt;/SPAN&gt;))-&amp;gt;&lt;SPAN style="color: #00677c;"&gt;labelDefinitions&lt;/SPAN&gt;()-&amp;gt;&lt;SPAN style="color: #00677c;"&gt;append&lt;/SPAN&gt;(&lt;SPAN style="color: #092e64;"&gt;labelDef&lt;/SPAN&gt;);

But How to enabel it..I am not able to see it&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 16:19:46 GMT</pubDate>
    <dc:creator>Girishchandra_Yendargaye</dc:creator>
    <dc:date>2021-12-12T16:19:46Z</dc:date>
    <item>
      <title>How add label in Feature Collection Layer which I have created...</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-add-label-in-feature-collection-layer-which-i/m-p/312487#M1554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How add label in Feature Collection Layer which I have created...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't find below method in QT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;collectionLayer.Layers.FirstOrDefault().LabelDefinitions.Add(labelDef)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 13:04:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-add-label-in-feature-collection-layer-which-i/m-p/312487#M1554</guid>
      <dc:creator>Girishchandra_Yendargaye</dc:creator>
      <dc:date>2019-01-23T13:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: How add label in Feature Collection Layer which I have created...</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-add-label-in-feature-collection-layer-which-i/m-p/312488#M1555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The list of layers comes back as a list of Layer*, which don't contain the LabelsDefinitions members. Can you try casting the Layer* to a FeatureLayer*? I'm not certain if this will work or not, but it is worth a try. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-cpp line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;dynamic_cast&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;FeatureLayer&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;collectionLayer&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;layers&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;at&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;labelDefinitions&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;append&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;labelDef&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 19:58:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-add-label-in-feature-collection-layer-which-i/m-p/312488#M1555</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-01-23T19:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: How add label in Feature Collection Layer which I have created...</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-add-label-in-feature-collection-layer-which-i/m-p/312489#M1556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added it as&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;dynamic_cast&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #800080;"&gt;FeatureLayer&lt;/SPAN&gt;*&amp;gt;(&lt;SPAN style="color: #092e64;"&gt;collectionLayer&lt;/SPAN&gt;-&amp;gt;&lt;SPAN style="color: #00677c;"&gt;layers&lt;/SPAN&gt;().&lt;SPAN style="color: #00677c;"&gt;at&lt;/SPAN&gt;(&lt;SPAN style="color: #000080;"&gt;0&lt;/SPAN&gt;))-&amp;gt;&lt;SPAN style="color: #00677c;"&gt;labelDefinitions&lt;/SPAN&gt;()-&amp;gt;&lt;SPAN style="color: #00677c;"&gt;append&lt;/SPAN&gt;(&lt;SPAN style="color: #092e64;"&gt;labelDef&lt;/SPAN&gt;);

But How to enabel it..I am not able to see it&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:19:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-add-label-in-feature-collection-layer-which-i/m-p/312489#M1556</guid>
      <dc:creator>Girishchandra_Yendargaye</dc:creator>
      <dc:date>2021-12-12T16:19:46Z</dc:date>
    </item>
  </channel>
</rss>

