<?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: Reorder Graphics Layers Between Other Layers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434641#M40022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still using visual studio, but with a php plug in.&amp;nbsp; Technically I'm writing a php as I need to perform simple sql queries to oracle and found this as the only way to do it easily.&amp;nbsp; Good to know that it gets better lol.&amp;nbsp; Thanks for your help today and yesterday on another post I wrote!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 14:40:14 GMT</pubDate>
    <dc:creator>DavidChevrier</dc:creator>
    <dc:date>2016-03-24T14:40:14Z</dc:date>
    <item>
      <title>Reorder Graphics Layers Between Other Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434636#M40017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a simple map.&amp;nbsp; It includes the ocean basemap (and ocean label reference layer automatically), then I add an ArcGISTiledMapServiceLayer that is hosted on my ArcGIS for Server.&amp;nbsp; When the user presses a button, it runs a geoprocessing service (also on my ArcGIS for Server).&amp;nbsp;&amp;nbsp; I add the returned features to a featureset, which is added to a featureCollection and used to create a new featureLayer.&amp;nbsp; This featureLayer is given a renderer and added to the map.&amp;nbsp; It works fine, however it seems to add this featureLayer to the graphics layer of the map.&amp;nbsp; Since graphics layers are always on top, I cant order the layers how I want.&amp;nbsp; Basically, I need the layers to be (from bottom to top); ocean basemap, geoprocessing result, ArcGISTiledMapServiceLayer, and ocean labels.&amp;nbsp; Is there a way to do this?&amp;nbsp;&amp;nbsp; It looks like I might be able to in the beta, but am using version 3.16.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 13:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434636#M40017</guid>
      <dc:creator>DavidChevrier</dc:creator>
      <dc:date>2016-03-24T13:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reorder Graphics Layers Between Other Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434637#M40018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; No this is not possible in the 3.x version of the API as FeatureLayer inherits from GraphicsLayer and GraphicsLayers are always drawn on top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;Graphics layers can be reordered within the group of graphics layers. However, the graphics layer in &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/map-amd.html#graphics" style="color: #00629b; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;Map.graphics&lt;/A&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt; is always on top. Also, all graphics layers are always on top of &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/tiledmapservicelayer-amd.html" style="color: #00629b; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;TiledMapServiceLayers&lt;/A&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt; and&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/dynamicmapservicelayer-amd.html" style="color: #00629b; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;DynamicMapServiceLayers&lt;/A&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 13:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434637#M40018</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-24T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reorder Graphics Layers Between Other Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434638#M40019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to know, thanks.&amp;nbsp; So in 4.x, you can reorder the layers this way?&amp;nbsp; I'd rather not convert to 4 until it is out of beta however.&amp;nbsp; Although I don't know when that will be.&amp;nbsp; And converting to 4 will be a major rewrite of a lot of code, correct?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434638#M40019</guid>
      <dc:creator>DavidChevrier</dc:creator>
      <dc:date>2016-03-24T14:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reorder Graphics Layers Between Other Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434639#M40020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should also say that I'm (reluctantly) coming over to the javascript api from silverlight.&amp;nbsp; I really loved developing in silverlight with xaml and c# in visual studio and am finding the javascript api to require a little more code to do similar functions.&amp;nbsp;&amp;nbsp; Also a little more clunky and less elegant.&amp;nbsp;&amp;nbsp;&amp;nbsp; But I know esri is putting more time, effort and money into javascript and it is nice to not require a plug in.&amp;nbsp; It just a bit more of a learning curve than I was expecting.&amp;nbsp; But its the ide I miss the most, the WYSIWYG ability and ease of use debugging tools in VS were great.&amp;nbsp;&amp;nbsp; Oh, and binding...&amp;nbsp; I really miss that.... I've heard you can do it in javascript with additional tools, but haven't figured that out yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:11:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434639#M40020</guid>
      <dc:creator>DavidChevrier</dc:creator>
      <dc:date>2016-03-24T14:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reorder Graphics Layers Between Other Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434640#M40021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have not done a bunch with 4.0 yet but yes it is suppose to be possible. 4.0 final should hit around UC time. Yes a lot has change in the coding with the separation of models and views.&lt;/P&gt;&lt;P&gt; I came to the JS api from Flex and Flash Builder so I am familiar with the LOE involved in learning a new language but I am getting very comfortable in JS using IDEs like Brackets and Atom. Initially I was hung up on have intelli-sense and autocomplete but I quickly got past this and am happy coding in JS. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:23:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434640#M40021</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-24T14:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reorder Graphics Layers Between Other Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434641#M40022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still using visual studio, but with a php plug in.&amp;nbsp; Technically I'm writing a php as I need to perform simple sql queries to oracle and found this as the only way to do it easily.&amp;nbsp; Good to know that it gets better lol.&amp;nbsp; Thanks for your help today and yesterday on another post I wrote!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:40:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434641#M40022</guid>
      <dc:creator>DavidChevrier</dc:creator>
      <dc:date>2016-03-24T14:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reorder Graphics Layers Between Other Layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434642#M40023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sure thing. Don't forget to mark this as answered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:43:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reorder-graphics-layers-between-other-layers/m-p/434642#M40023</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-03-24T14:43:38Z</dc:date>
    </item>
  </channel>
</rss>

