<?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 Identify Graphic Attributes in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/identify-graphic-attributes/m-p/233275#M1170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on graphics using arcgis runtime sdk for qt.i have added graphics dynamically &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and they are displaying fine.this dynamic graphic layer is having attribute info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i am trying read this attributes using&amp;nbsp; EsriRuntimeQt::Graphic::attributeNames,EsriRuntimeQt::Graphic::attributes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EsriRuntimeQt::Graphic::attributeValue&amp;nbsp; it is returning zero.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly letme know which function i have to use to read and display attributes of the graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also noticed that no signals/events to handle the graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Praveen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 16:10:15 GMT</pubDate>
    <dc:creator>praveennarayandas</dc:creator>
    <dc:date>2013-10-30T16:10:15Z</dc:date>
    <item>
      <title>Identify Graphic Attributes</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/identify-graphic-attributes/m-p/233275#M1170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on graphics using arcgis runtime sdk for qt.i have added graphics dynamically &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and they are displaying fine.this dynamic graphic layer is having attribute info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i am trying read this attributes using&amp;nbsp; EsriRuntimeQt::Graphic::attributeNames,EsriRuntimeQt::Graphic::attributes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EsriRuntimeQt::Graphic::attributeValue&amp;nbsp; it is returning zero.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly letme know which function i have to use to read and display attributes of the graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also noticed that no signals/events to handle the graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Praveen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 16:10:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/identify-graphic-attributes/m-p/233275#M1170</guid>
      <dc:creator>praveennarayandas</dc:creator>
      <dc:date>2013-10-30T16:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Graphic Attributes</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/identify-graphic-attributes/m-p/233276#M1171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you would like to get or set the attribute to the graphic &lt;/SPAN&gt;&lt;STRONG&gt;before&lt;/STRONG&gt;&lt;SPAN&gt; adding it to the graphic layer, you can use the following functions to get and set the attributes for the graphic from the &lt;/SPAN&gt;&lt;STRONG&gt;graphic object&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;QStringList&amp;nbsp; attributeNames () const&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gets the name of all the attributes. Attributes are name-value pairs of fields and field values associated with the graphic. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;QMap&amp;lt; QString, QVariant &amp;gt;&amp;nbsp; attributes () const&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Returns all attributes of the graphic as a read-only collection. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;QVariant&amp;nbsp; attributeValue (const QString &amp;amp;key) const&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gets the attribute value by the given name. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you would like to get or set the attribute to the graphic &lt;/SPAN&gt;&lt;STRONG&gt;after&lt;/STRONG&gt;&lt;SPAN&gt; adding it to the graphic layer, you can use the following functions to get and set the attributes for the graphic from the &lt;/SPAN&gt;&lt;STRONG&gt;graphic layer object&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void&amp;nbsp; updateGraphic (const int &amp;amp;id, const QMap&amp;lt; QString, QVariant &amp;gt; &amp;amp;attributes) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Replaces the set of attributes of the identified Graphic with the supplied attributes.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 22:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/identify-graphic-attributes/m-p/233276#M1171</guid>
      <dc:creator>JeanneTrieu</dc:creator>
      <dc:date>2013-10-30T22:03:14Z</dc:date>
    </item>
  </channel>
</rss>

