<?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: Is it possible to add graphics behind a feature layer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575604#M53749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;glad to hear it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 17:23:11 GMT</pubDate>
    <dc:creator>JohnGravois</dc:creator>
    <dc:date>2012-11-29T17:23:11Z</dc:date>
    <item>
      <title>Is it possible to add graphics behind a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575601#M53746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using a graphics layer to create a highlight symbol for when a user clicks on a point feature layer.&amp;nbsp; I have some events that listen for double-clicks or mouse hovers on the feature layer, but once a user clicks it and the highlight symbol is added, the events no longer work as the feature layer is covered by the graphic layer.&amp;nbsp; I could re-work the events to listen for double-clicks on the graphic layer, but I'd rather not do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/27498/jsapi-how-to-add-a-graphic-on-top-of-another-graphic-in-the-same-layer"&gt;a post on stackexchange.com&lt;/A&gt;&lt;SPAN&gt; that shows how to use the graphic.getDojoShape().moveToBack() method, but it appears it only adds the new graphics under existing graphics, and not feature layers.&amp;nbsp; Is it possible to do what I'm attempting, or will graphic layers always be added on top of feature layers?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 14:07:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575601#M53746</guid>
      <dc:creator>BrettGreenfield__DNR_</dc:creator>
      <dc:date>2012-11-29T14:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add graphics behind a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575602#M53747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i'm pretty sure that the generic map.graphics layer always draws on top, but if you instantiate a named graphics layer instead you can take advantage of &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/map.htm#reorderLayer"&gt;map.reorderLayers()&lt;/A&gt;&lt;SPAN&gt; (or just add the named graphics layer to the map before you add the featureLayer) to ensure that the featureLayer draws on top of the graphics layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 15:07:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575602#M53747</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-11-29T15:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add graphics behind a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575603#M53748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, such a simple solution - adding the named graphics layer before the feature layer worked.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 17:22:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575603#M53748</guid>
      <dc:creator>BrettGreenfield__DNR_</dc:creator>
      <dc:date>2012-11-29T17:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add graphics behind a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575604#M53749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;glad to hear it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 17:23:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-add-graphics-behind-a-feature/m-p/575604#M53749</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-11-29T17:23:11Z</dc:date>
    </item>
  </channel>
</rss>

