AnsweredAssumed Answered

I would like to add a layer (shapefile) from one map frame to another map frame in the same layout

Question asked by spillerc2990 on Oct 26, 2018
Latest reply on Oct 26, 2018 by jbarrette-esristaff

Using ArcGIS Pro SDK (C#), how can I add a layer (shapefile) from one map frame to another map frame in the same layout. I want to add a project area shapefile (c:\project1\projectArea.shp) from my "Main Map" map frame the "Overview Map" map frame. I already have both of these map frames in my layout. Pretty much, I want to copy and paste the "projectArea" shapefile from one map frame and add it to another, so that it shows up in my inset overview map. I am using ArGIS Pro SDK C#.

 

Layout: "Layout"

Map frame that contains the shapefile: "Main Map"

Map that contains the shapefile: "Map"

Map frame that I want to add the shapefile to: "Overview"

Map within the map frame that I want to add the shapefile to: "Overview Map"

Path to shapefile: c:\project1\projectArea.shp

Outcomes