<?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: GraphicsLayers aren't always on top! in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphicslayers-aren-t-always-on-top/m-p/380100#M35297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for posting this.&amp;nbsp; I had the same issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jul 2011 14:49:03 GMT</pubDate>
    <dc:creator>RianCrowley</dc:creator>
    <dc:date>2011-07-05T14:49:03Z</dc:date>
    <item>
      <title>GraphicsLayers aren't always on top!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphicslayers-aren-t-always-on-top/m-p/380099#M35296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi JavaScript API folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the documentation of a GraphicsLayer,:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/graphicslayer.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/graphicslayer.htm&lt;/A&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Graphics layers can be reordered within the group of graphics layers. However, the graphics layer in Map.Graphics is always on top. Also, all graphics layers are always on top of TiledMapServiceLayers and DynamicMapServiceLayers. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This isn't quite true.&amp;nbsp; On the page, Graphics Layers seem to end up in the following element:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;svg width="821" height="656" style="overflow: visible; position: absolute; z-index: 20;" id="mapDiv_gc"&amp;gt;...&amp;lt;/svg&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which as best I can tell is hard coded with a z-index of 20.&amp;nbsp; Fine, as long as you never have more than 21 map layers, since other map layers appear to be added with ascending z-index values.&amp;nbsp; For those of us just nutty enough to add more than 21 layers, though, our graphics get buried.&amp;nbsp; The z-index value isn't all that difficult to change after the fact with a dojo.style('mapDiv_gc','zIndex',40); command, but should this really be necessary - especially when the documentation is so adamant about graphics layers &lt;/SPAN&gt;&lt;STRONG&gt;always&lt;/STRONG&gt;&lt;SPAN&gt; being on top of other layers?&amp;nbsp; Thanks so much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 23:19:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphicslayers-aren-t-always-on-top/m-p/380099#M35296</guid>
      <dc:creator>TorrinHultgren</dc:creator>
      <dc:date>2010-09-29T23:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: GraphicsLayers aren't always on top!</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphicslayers-aren-t-always-on-top/m-p/380100#M35297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for posting this.&amp;nbsp; I had the same issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 14:49:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphicslayers-aren-t-always-on-top/m-p/380100#M35297</guid>
      <dc:creator>RianCrowley</dc:creator>
      <dc:date>2011-07-05T14:49:03Z</dc:date>
    </item>
  </channel>
</rss>

