<?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 do I get the selected graphic to display on top of all the other graphics? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451536#M41714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Two thoughts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find the graphic to move, create a new graphic, assign the "move" graphic to the new graphic, delete the "move" graphic, then add the new graphic to the graphics list&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- OR -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Copy the graphics list to an array, manipulate the array, delete all the graphics from the graphics list, then assign the manipulated array to the graphics list&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I don't have a code example and I haven't tested any of this...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2013 14:37:54 GMT</pubDate>
    <dc:creator>TyroneLigon</dc:creator>
    <dc:date>2013-05-10T14:37:54Z</dc:date>
    <item>
      <title>How do I get the selected graphic to display on top of all the other graphics?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451535#M41713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am adding graphics(markers) to the map and I am selecting a specific graphic(markers).&amp;nbsp; How do I go about making the selected graphic the top most graphic in layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 14:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451535#M41713</guid>
      <dc:creator>SethCrotchett</dc:creator>
      <dc:date>2013-05-07T14:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the selected graphic to display on top of all the other graphics?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451536#M41714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Two thoughts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find the graphic to move, create a new graphic, assign the "move" graphic to the new graphic, delete the "move" graphic, then add the new graphic to the graphics list&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- OR -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Copy the graphics list to an array, manipulate the array, delete all the graphics from the graphics list, then assign the manipulated array to the graphics list&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I don't have a code example and I haven't tested any of this...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 14:37:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451536#M41714</guid>
      <dc:creator>TyroneLigon</dc:creator>
      <dc:date>2013-05-10T14:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the selected graphic to display on top of all the other graphics?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451537#M41715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Seth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The graphics class has a getDojoShape() method that can be used to change the graphic's drawing order. Once you have the dojo shape you can use the moveToFront and moveToBack methods to reorder the graphic. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/graphic.html#getDojoShape" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/graphic.html#getDojoShape&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am adding graphics(markers) to the map and I am selecting a specific graphic(markers).&amp;nbsp; How do I go about making the selected graphic the top most graphic in layer?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 14:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451537#M41715</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-05-10T14:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the selected graphic to display on top of all the other graphics?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451538#M41716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow...scrolled right past that one. Seth, ignore what I posted and go with Kelly's solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 16:07:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-get-the-selected-graphic-to-display-on/m-p/451538#M41716</guid>
      <dc:creator>TyroneLigon</dc:creator>
      <dc:date>2013-05-10T16:07:23Z</dc:date>
    </item>
  </channel>
</rss>

