<?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>idea Reinstate ArcGIS.Desktop.Mapping.LayerPosition enum in ArcGIS Pro SDK Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idi-p/1275640</link>
    <description>&lt;P&gt;In the transition from ArcGIS Pro 2.9 to Pro 3 the ArcGIS.Desktop.Mapping.LayerPosition was removed i.e.&lt;/P&gt;&lt;P&gt;see &lt;A title="Follow link" href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html" target="_blank" rel="nofollow noopener"&gt;https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="Follow link" href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html#i-heading--detailed-list-of-changes-arcgis-core-" target="_blank" rel="nofollow noopener"&gt;https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html#i-heading--detailed-list-of-changes-arcgis-core-&lt;/A&gt;&lt;/P&gt;&lt;P&gt;look in API Changes Detailed List of Changes ArcGIS-Core 15th instance of 29 for LayerPosition.&lt;/P&gt;&lt;P&gt;The LayerPosition.AutoArrange option was very handy for adding external basemaps to a map. It would group basemaps together at the bottom of the Table Of Contents.&lt;/P&gt;&lt;P&gt;As in this useage:&lt;/P&gt;&lt;P&gt;layer = await QueuedTask.Run(() =&amp;gt; LayerFactory.Instance.CreateLayer(uri, mapView.Map, &lt;STRONG&gt;LayerPosition.AddToTop&lt;/STRONG&gt;, ShowName));&lt;/P&gt;&lt;P&gt;Alternative create an equivalent method or enum with the same functionality as the AutoArrage option.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 15:41:08 GMT</pubDate>
    <dc:creator>StefanDieters1</dc:creator>
    <dc:date>2023-04-05T15:41:08Z</dc:date>
    <item>
      <title>Reinstate ArcGIS.Desktop.Mapping.LayerPosition enum</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idi-p/1275640</link>
      <description>&lt;P&gt;In the transition from ArcGIS Pro 2.9 to Pro 3 the ArcGIS.Desktop.Mapping.LayerPosition was removed i.e.&lt;/P&gt;&lt;P&gt;see &lt;A title="Follow link" href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html" target="_blank" rel="nofollow noopener"&gt;https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="Follow link" href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html#i-heading--detailed-list-of-changes-arcgis-core-" target="_blank" rel="nofollow noopener"&gt;https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic15120.html#i-heading--detailed-list-of-changes-arcgis-core-&lt;/A&gt;&lt;/P&gt;&lt;P&gt;look in API Changes Detailed List of Changes ArcGIS-Core 15th instance of 29 for LayerPosition.&lt;/P&gt;&lt;P&gt;The LayerPosition.AutoArrange option was very handy for adding external basemaps to a map. It would group basemaps together at the bottom of the Table Of Contents.&lt;/P&gt;&lt;P&gt;As in this useage:&lt;/P&gt;&lt;P&gt;layer = await QueuedTask.Run(() =&amp;gt; LayerFactory.Instance.CreateLayer(uri, mapView.Map, &lt;STRONG&gt;LayerPosition.AddToTop&lt;/STRONG&gt;, ShowName));&lt;/P&gt;&lt;P&gt;Alternative create an equivalent method or enum with the same functionality as the AutoArrage option.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idi-p/1275640</guid>
      <dc:creator>StefanDieters1</dc:creator>
      <dc:date>2023-04-05T15:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reinstate ArcGIS.Desktop.Mapping.LayerPosition enum</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idc-p/1275941#M18</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/353478"&gt;@StefanDieters1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It got moved to &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic73816.html" target="_self"&gt;MapMemberCreationParams&lt;/A&gt; class. Please use the &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic76719.html" target="_self"&gt;MapMemberPosition&lt;/A&gt; property of this class for this.&lt;/P&gt;&lt;P&gt;Please let me know if it doesn't work for you.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 19:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idc-p/1275941#M18</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2023-04-05T19:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reinstate ArcGIS.Desktop.Mapping.LayerPosition enum - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idc-p/1276007#M19</link>
      <description />
      <pubDate>Wed, 05 Apr 2023 21:30:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idc-p/1276007#M19</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2023-04-05T21:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reinstate ArcGIS.Desktop.Mapping.LayerPosition enum</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idc-p/1277644#M20</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2620"&gt;@TanuHoque&lt;/a&gt;&lt;/P&gt;&lt;P&gt;that was the clue I need to convert my code across.&lt;/P&gt;&lt;P&gt;For anybody else that needs help here is a code snippet:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;                        // Create the parameters
                        // note many more parameters are possible
                        // Use this pattern to create Feature layers, service layers ...
                        var parmeters = new LayerCreationParams(uri)
                        {
                            Name = ShowName,
                            MapMemberPosition = MapMemberPosition.AutoArrange,
                            IsVisible= true,                            
                        };
                        
                        // Layers such as the world toppgraphic and basemaps added via Layer &amp;gt; Basmap &amp;gt; select from gallery are not feature layers.
                        layer = await QueuedTask.Run(() =&amp;gt; LayerFactory.Instance.CreateLayer&amp;lt;Layer&amp;gt;(parmeters, mapView.Map));&lt;/LI-CODE&gt;&lt;P&gt;uri is the Uri(Path to the service providing the basemap) e.g. &lt;A href="https://services.thelist.tas.gov.au/arcgis/rest/services/Basemaps/Topographic/MapServer" target="_blank"&gt;https://services.thelist.tas.gov.au/arcgis/rest/services/Basemaps/Topographic/MapServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ShowName is a string describing the layer.&lt;/P&gt;&lt;P&gt;If people are interested in getting the index themselves: this link was useful:&lt;/P&gt;&lt;P&gt;/ &lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/c-arcgis-pro-sdk-move-layer-b-in-contents-beneath/m-p/778496#M1034" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/c-arcgis-pro-sdk-move-layer-b-in-contents-beneath/m-p/778496#M1034&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 03:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idc-p/1277644#M20</guid>
      <dc:creator>StefanDieters1</dc:creator>
      <dc:date>2023-04-12T03:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reinstate ArcGIS.Desktop.Mapping.LayerPosition enum - Status changed to: Already Offered</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idc-p/1277755#M21</link>
      <description />
      <pubDate>Wed, 12 Apr 2023 12:37:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-ideas/reinstate-arcgis-desktop-mapping-layerposition/idc-p/1277755#M21</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2023-04-12T12:37:08Z</dc:date>
    </item>
  </channel>
</rss>

