<?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: Runtime 100.1 qml PictureMarkerSymbol as selection symbol in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/runtime-100-1-qml-picturemarkersymbol-as-selection/m-p/515331#M2631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Massimiliano:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;I hope I'm understanding what you are trying to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;EM&gt;&lt;SPAN lang="en" style="border: 0px; font-weight: inherit;"&gt;Before moving on&lt;/SPAN&gt;, do you think this is the right solution?&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;Answer: Yes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;&lt;SPAN&gt;If you're trying to find out what is currently selected on the GraphicsOverlay and then act on it, you can get a list of the selected graphics through the&amp;nbsp; &lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-graphicsoverlay.html#selectedGraphics-prop"&gt;selectedGraphics&lt;/A&gt;&amp;nbsp;property. Then you can get the graphic and change its symbol. Do I understand correctly?&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-graphicsoverlay.html#selectedGraphics-prop" title="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-graphicsoverlay.html#selectedGraphics-prop"&gt;https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-graphicsoverlay.html#selectedGraphics-prop&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;&lt;SPAN&gt;Regarding AppStudio, it hasn't released on top of 100.2 just yet. It will.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 15:29:55 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2018-02-07T15:29:55Z</dc:date>
    <item>
      <title>Runtime 100.1 qml PictureMarkerSymbol as selection symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/runtime-100-1-qml-picturemarkersymbol-as-selection/m-p/515330#M2630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I'm migrating an app from 10.2.6 runtime version to 100.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en" style="color: #000000;"&gt;Core question, I'm having some troubles using &lt;SPAN style="text-decoration: underline;"&gt;PictureMarkerSymbol as Graphic selection symbol in a GraphicsLayer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;In 10.2.6 to select a Graphic object, in &lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;onFindGraphicsComplete&lt;/SPAN&gt;, I used&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000; font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;merchantLayer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace; font-style: italic;"&gt;.selectGraphic&lt;/SPAN&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;(&lt;SPAN style="font-style: italic;"&gt;graphicIDs&lt;/SPAN&gt;[0]);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;and to assign it a new selection symbol I set&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;GraphicsLayer {&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;id: &lt;SPAN style="font-style: italic;"&gt;merchantLayer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;selectionSymbol&lt;/SPAN&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;: &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: italic;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;defaultSelectionSymbo&lt;/SPAN&gt;l&amp;nbsp;&lt;SPAN style="color: #0000ff;"&gt; //this is a PictureMarkerSymbol!!!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-style: italic;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;It works fine&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Now, with 100.1, there's no more&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;GraphicsOverlay.&lt;/SPAN&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;selectionSymbol&lt;/SPAN&gt;. &lt;/STRONG&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;There's only&lt;/SPAN&gt;&lt;STRONG&gt; selectionColor.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;I'm trying this way, select the Graphics like this&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;onIdentifyGraphicsOverlayStatusChanged: {&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;identifyGraphicsOverlayResult&lt;/SPAN&gt;.graphics[0].selected=true;

&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;and set &lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;onSelectedChanged()&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;in each Graphics object &lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;to intercept the selection status change&lt;/SPAN&gt;
&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;and perform the substitution of Graphic renderer.&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; color: #000000;"&gt;&lt;SPAN lang="en"&gt;Before moving on&lt;/SPAN&gt;, do you think this is the right solution?&lt;/SPAN&gt;
&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;If it is so, my Graphics object is dinamically built like this&lt;/SPAN&gt;
for (var &lt;SPAN style="font-style: italic;"&gt;i&lt;/SPAN&gt; = 0; &lt;SPAN style="font-style: italic;"&gt;i&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="font-style: italic;"&gt;features&lt;/SPAN&gt;.length; &lt;SPAN style="font-style: italic;"&gt;i&lt;/SPAN&gt;++){&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var &lt;SPAN style="font-style: italic;"&gt;merchantGeometry&lt;/SPAN&gt; = ArcGISRuntimeEnvironment.createObject("Point",&amp;nbsp; {"json": &lt;SPAN style="font-style: italic;"&gt;features&lt;/SPAN&gt;[&lt;SPAN style="font-style: italic;"&gt;i&lt;/SPAN&gt;].geometry});&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp; var &lt;SPAN style="font-style: italic;"&gt;attributes&lt;/SPAN&gt; = &lt;SPAN style="font-style: italic;"&gt;features&lt;/SPAN&gt;[&lt;SPAN style="font-style: italic;"&gt;i&lt;/SPAN&gt;].attributes;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp; var &lt;SPAN style="font-style: italic;"&gt;merchantGraphic&lt;/SPAN&gt; = ArcGISRuntimeEnvironment.createObject("Graphic", { geometry: &lt;SPAN style="font-style: italic;"&gt;merchantGeometry&lt;/SPAN&gt; })&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-style: italic;"&gt;merchantGraphic&lt;/SPAN&gt;.attributes.attributesJson = &lt;SPAN style="font-style: italic;"&gt;attributes&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;EM&gt;//HELP! Here I'm not able to set onSelectedChanged
&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; ...
&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;How can I do s&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;omethig like this qml:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace; color: #000000;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; merchantGraphic&lt;/SPAN&gt;.onSelectedChanged: {&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace; color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace; color: #000000;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; console&lt;/SPAN&gt;.log ("selected status changed. Change graphic's renderer")&amp;nbsp; 
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace; color: #000000;"&gt;&lt;SPAN style="font-style: italic;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: courier\ new, courier, monospace;"&gt;};&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Minor question, the AppStudio 2.1.19 downloaded doesn't have the latest runtime 100.2, do I have to install something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;THANK YOU for your attention.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Massimiliano&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/runtime-100-1-qml-picturemarkersymbol-as-selection/m-p/515330#M2630</guid>
      <dc:creator>MassimilianoSantini</dc:creator>
      <dc:date>2021-12-11T22:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime 100.1 qml PictureMarkerSymbol as selection symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/runtime-100-1-qml-picturemarkersymbol-as-selection/m-p/515331#M2631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Massimiliano:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;I hope I'm understanding what you are trying to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;EM&gt;&lt;SPAN lang="en" style="border: 0px; font-weight: inherit;"&gt;Before moving on&lt;/SPAN&gt;, do you think this is the right solution?&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;Answer: Yes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;&lt;SPAN&gt;If you're trying to find out what is currently selected on the GraphicsOverlay and then act on it, you can get a list of the selected graphics through the&amp;nbsp; &lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-graphicsoverlay.html#selectedGraphics-prop"&gt;selectedGraphics&lt;/A&gt;&amp;nbsp;property. Then you can get the graphic and change its symbol. Do I understand correctly?&lt;A class="link-titled" href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-graphicsoverlay.html#selectedGraphics-prop" title="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-graphicsoverlay.html#selectedGraphics-prop"&gt;https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-graphicsoverlay.html#selectedGraphics-prop&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;&lt;SPAN&gt;Regarding AppStudio, it hasn't released on top of 100.2 just yet. It will.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 15:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/runtime-100-1-qml-picturemarkersymbol-as-selection/m-p/515331#M2631</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2018-02-07T15:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime 100.1 qml PictureMarkerSymbol as selection symbol</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/runtime-100-1-qml-picturemarkersymbol-as-selection/m-p/515332#M2632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you. The issue is not how to get selected Graphics but how to manage the change of selection status.&lt;/P&gt;&lt;P&gt;I'm trying this way but something goes wrong emitting or catching the signal &lt;STRONG&gt;selectedChanged.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I defined my Graphics as&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;merchantGraphic&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ArcGISRuntimeEnvironment&lt;/SPAN&gt;.crateObject(&lt;SPAN style="color: #008000;"&gt;"Graphic"&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #c0c0c0;"&gt; 
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;geometry:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;merchantGeometry&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;symbol:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;merchantSymbol&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;onSelectedChanged:myC&lt;SPAN style="font-style: italic; color: #000000;"&gt;hangeSymbol&lt;/SPAN&gt;()&lt;SPAN style="color: #c0c0c0;"&gt; 
&lt;/SPAN&gt;&lt;/STRONG&gt;});
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000000;"&gt;merchantLayer&lt;/SPAN&gt;.graphics.append(&lt;SPAN style="color: #2985c7;"&gt;merchantGraphic&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;and I selected it inside&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #800000;"&gt;onIdentifyGraphicsOverlayStatusChanged&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN style="color: #000000;"&gt;identifyGraphicsOverlayStatus&lt;/SPAN&gt;&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;.TaskStatusCompleted)&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&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;&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN style="color: #000000;"&gt;identifyGraphicsOverlayResult&lt;/SPAN&gt;.graphics.length&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;0)&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&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; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2985c7;"&gt;identifiedGraphic&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;identifyGraphicsOverlayResult&lt;/SPAN&gt;.graphics[0];&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;identifiedGraphic&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #c0c0c0;"&gt;.selected=true;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;Why the &lt;STRONG&gt;onSelectedChanged: myC&lt;SPAN style="font-style: italic; color: #000000;"&gt;hangeSymbol&lt;/SPAN&gt;()&amp;nbsp;&lt;/STRONG&gt; is not called when I set&amp;nbsp; &lt;SPAN style="font-style: italic; color: #2985c7;"&gt;&lt;STRONG&gt;identifiedGraphic&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #c0c0c0;"&gt;.selected=true; &lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;Even force it&amp;nbsp; &lt;SPAN style="font-style: italic; color: #2985c7;"&gt;&lt;STRONG&gt;identifiedGraphic&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #c0c0c0;"&gt;.&lt;/STRONG&gt;selectedChanged();&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Massimiliano&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/runtime-100-1-qml-picturemarkersymbol-as-selection/m-p/515332#M2632</guid>
      <dc:creator>MassimilianoSantini</dc:creator>
      <dc:date>2021-12-11T22:30:42Z</dc:date>
    </item>
  </channel>
</rss>

