<?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: Question about legend for a feature layer from an offline geodatabase. in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152025#M714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Genius...thank you for the tip Daniel, will try that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2016 23:08:57 GMT</pubDate>
    <dc:creator>ISSRWEB</dc:creator>
    <dc:date>2016-06-08T23:08:57Z</dc:date>
    <item>
      <title>Question about legend for a feature layer from an offline geodatabase.</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152022#M711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add two feature layers from an offline runtime geodatabase and am not being able to access any legend information for these layers. I can access the legendInfos for dynamic map services layer.&lt;/P&gt;&lt;P&gt;Is this by design, or a bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case layer.legend returns an empty object (code below). Any help is appreciated. &lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;layer&lt;/SPAN&gt;.layerType&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;===&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Enums&lt;/SPAN&gt;.LayerTypeFeature){
&lt;SPAN style="color: #0055af;"&gt;console&lt;/SPAN&gt;.log(&lt;SPAN style="color: #0055af;"&gt;JSON&lt;/SPAN&gt;.stringify(&lt;SPAN style="color: #2985c7;"&gt;layer&lt;/SPAN&gt;.renderer));
&lt;SPAN style="color: #0055af;"&gt;console&lt;/SPAN&gt;.log(&lt;SPAN style="color: #0055af;"&gt;JSON&lt;/SPAN&gt;.stringify(&lt;SPAN style="color: #2985c7;"&gt;layer&lt;/SPAN&gt;.legend));&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent;"&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152022#M711</guid>
      <dc:creator>ISSRWEB</dc:creator>
      <dc:date>2021-12-11T08:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question about legend for a feature layer from an offline geodatabase.</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152023#M712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bug/known issue with 10.2.6. Our upcoming Quartz release of ArcGIS Runtime will support getting legend info from feature layers. In fact, beyond bringing in support for retrieving legend info on all layer types, we have greatly simplified the workflow for creating a legend control with our upcoming Quartz release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 16:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152023#M712</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-04-07T16:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Question about legend for a feature layer from an offline geodatabase.</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152024#M713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;had the same problem trying to get infos about symbology. Only solution was to query the SQLite-Database (.geodatabase) using QtSql-API and grab the JSON describing the renderer. Most information is stored in the columns &lt;EM&gt;ItemInfo&lt;/EM&gt; and &lt;EM&gt;AdvancedDrawingInfo&lt;/EM&gt; of table GDB_ServiceItems.&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 16:32:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152024#M713</guid>
      <dc:creator>DanielBachmann1</dc:creator>
      <dc:date>2016-05-03T16:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Question about legend for a feature layer from an offline geodatabase.</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152025#M714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Genius...thank you for the tip Daniel, will try that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 23:08:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/question-about-legend-for-a-feature-layer-from-an/m-p/152025#M714</guid>
      <dc:creator>ISSRWEB</dc:creator>
      <dc:date>2016-06-08T23:08:57Z</dc:date>
    </item>
  </channel>
</rss>

