<?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: ArcGIS Pro 3.0.3 SDK Missing CreateRasterLayer and CreateFeatureLayer Methods in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-0-3-sdk-missing-createrasterlayer-and/m-p/1256838#M9403</link>
    <description>&lt;P&gt;Found what I was looking for:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#arcgisdesktopmappingdll" target="_blank"&gt;ProConcepts 3.0 Migration Guide · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In 2.x this line:&lt;/P&gt;&lt;P&gt;var x = ArcGIS.Desktop.Mapping.LayerFactory.Instance.CreateFeatureLayer(uri, mapView.Map, 0, theShortName)&lt;/P&gt;&lt;P&gt;Is now replaced by:&lt;/P&gt;&lt;P&gt;var layerParams = new FeatureLayerCreationParams(uri)&lt;BR /&gt;{&lt;BR /&gt;MapMemberPosition = MapMemberPosition.AddToBottom,&lt;BR /&gt;Name = theShortName&lt;BR /&gt;};&lt;BR /&gt;var x = LayerFactory.Instance.CreateLayer&amp;lt;FeatureLayer&amp;gt;(layerParams, mapView.Map);&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2023 01:11:58 GMT</pubDate>
    <dc:creator>RichardDaniels</dc:creator>
    <dc:date>2023-02-10T01:11:58Z</dc:date>
    <item>
      <title>ArcGIS Pro 3.0.3 SDK Missing CreateRasterLayer and CreateFeatureLayer Methods</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-0-3-sdk-missing-createrasterlayer-and/m-p/1256827#M9401</link>
      <description>&lt;P&gt;In ArcGIS.Desktop.Mapping within the ArcGIS Pro 3.0.3 SDK the following method has been removed:&lt;/P&gt;&lt;P&gt;var x = LayerFactory.Instance.&lt;STRONG&gt;CreateRasterLayer&lt;/STRONG&gt;(uri, mapView.Map, 0, theShortName)&lt;/P&gt;&lt;P&gt;var x = LayerFactory.Instance.&lt;STRONG&gt;CreateFeatureLayer&lt;/STRONG&gt;(uri, mapView.Map, 0, theShortName)&lt;/P&gt;&lt;P&gt;what are there replacement?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 00:44:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-0-3-sdk-missing-createrasterlayer-and/m-p/1256827#M9401</guid>
      <dc:creator>RichardDaniels</dc:creator>
      <dc:date>2023-02-10T00:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 3.0.3 SDK Missing CreateRasterLayer and CreateFeatureLayer Methods</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-0-3-sdk-missing-createrasterlayer-and/m-p/1256838#M9403</link>
      <description>&lt;P&gt;Found what I was looking for:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#arcgisdesktopmappingdll" target="_blank"&gt;ProConcepts 3.0 Migration Guide · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In 2.x this line:&lt;/P&gt;&lt;P&gt;var x = ArcGIS.Desktop.Mapping.LayerFactory.Instance.CreateFeatureLayer(uri, mapView.Map, 0, theShortName)&lt;/P&gt;&lt;P&gt;Is now replaced by:&lt;/P&gt;&lt;P&gt;var layerParams = new FeatureLayerCreationParams(uri)&lt;BR /&gt;{&lt;BR /&gt;MapMemberPosition = MapMemberPosition.AddToBottom,&lt;BR /&gt;Name = theShortName&lt;BR /&gt;};&lt;BR /&gt;var x = LayerFactory.Instance.CreateLayer&amp;lt;FeatureLayer&amp;gt;(layerParams, mapView.Map);&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 01:11:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-3-0-3-sdk-missing-createrasterlayer-and/m-p/1256838#M9403</guid>
      <dc:creator>RichardDaniels</dc:creator>
      <dc:date>2023-02-10T01:11:58Z</dc:date>
    </item>
  </channel>
</rss>

