<?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: Composite graphic symbol in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506975#M2560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, many class breaks for many text strings is not what I had in mind. Rather, I was thinking of static text for each class break, such as "small", "medium" and "large". This would be an unusual scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you have noted, there is no built-in provision for adding label text to a class break renderer's symbols. If you were displaying features from a dynamic map service, you could label features in various ways using DynamicLayerInfo.DrawingInfo.LabelingInfo. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best you can do with graphics now is to display two co-located graphics per feature, one a marker symbol and another a text symbol built using an attribute from the graphic. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 18:09:50 GMT</pubDate>
    <dc:creator>ThomasDunn</dc:creator>
    <dc:date>2015-09-14T18:09:50Z</dc:date>
    <item>
      <title>Composite graphic symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506972#M2557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to render a circular graphic symbol, but with text inside the circle. For a simple example, I have the following class break example where I would like to set text inside the circle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ClassBreakInfo {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; minimum: 11.9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maximum: 12.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol: SimpleMarkerSymbol {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: "limegreen"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; size: 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to add text to a SimpleMarkerSymbol. I see there isn't a property for text. Is there a way to composite SimpleMarkerSymbol and TextSymbol that I can bind to 'symbol:' ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 00:49:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506972#M2557</guid>
      <dc:creator>RainerFarsch</dc:creator>
      <dc:date>2015-09-07T00:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Composite graphic symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506973#M2558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranier, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: Would your text be static or supplied from an attribute or other dynamic source?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 16:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506973#M2558</guid>
      <dc:creator>ThomasDunn</dc:creator>
      <dc:date>2015-09-14T16:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Composite graphic symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506974#M2559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's a good question. If the text is static, then I would need a good number of ClassBreakInfo components - one for each unique text case!? If the text is set as an attribute then that would reduce the number of ClassBreakInfo components that I would need. Once the text is set for the graphic, it won't change for the life of the graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my answer is: it depends. I would be interested in hearing both solutions (if they exist) for the static and dynamic case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 16:59:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506974#M2559</guid>
      <dc:creator>RainerFarsch</dc:creator>
      <dc:date>2015-09-14T16:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Composite graphic symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506975#M2560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, many class breaks for many text strings is not what I had in mind. Rather, I was thinking of static text for each class break, such as "small", "medium" and "large". This would be an unusual scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you have noted, there is no built-in provision for adding label text to a class break renderer's symbols. If you were displaying features from a dynamic map service, you could label features in various ways using DynamicLayerInfo.DrawingInfo.LabelingInfo. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best you can do with graphics now is to display two co-located graphics per feature, one a marker symbol and another a text symbol built using an attribute from the graphic. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 18:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506975#M2560</guid>
      <dc:creator>ThomasDunn</dc:creator>
      <dc:date>2015-09-14T18:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Composite graphic symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506976#M2561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Here's a related question. Is it possible to change the color of a symbol based on a graphic's attribute given that a SimpleRenderer is used? Using sample code from &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/class_simple_renderer.html" title="https://developers.arcgis.com/qt/qml/api-reference/class_simple_renderer.html"&gt;ArcGIS Runtime SDK for Qt QML API: SimpleRenderer Class Reference&lt;/A&gt; (below), is it possible to use JS for the 'color:' binding to select color based on a graphic's attribute, or do I need to use a ClassBreakRender?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GraphicsLayer {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: graphicsLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer: simple&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SimpleRenderer {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: simple&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol: SimpleFillSymbol {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style: Enums.SimpleFillSymbolStyleForwardDiagonal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;color:&lt;/STRONG&gt; "#9050d5"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outline: SimpleLineSymbol {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: "darkgrey"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 21:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506976#M2561</guid>
      <dc:creator>RainerFarsch</dc:creator>
      <dc:date>2015-09-14T21:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Composite graphic symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506977#M2562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranier, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, not through the renderer. You cannot bind the color property of a shared symbol to varying attribute values of individual graphics. You could instead create a new symbol for each graphic, where the color of the symbol is based on a graphic attribute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 22:39:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/composite-graphic-symbol/m-p/506977#M2562</guid>
      <dc:creator>ThomasDunn</dc:creator>
      <dc:date>2015-09-14T22:39:29Z</dc:date>
    </item>
  </channel>
</rss>

