This sample illustrates how to create a new map pane that impersonates an existing map pane. A control will be added to the new pane allowing you to view the map CIM. A custom
TOC implementation will also be demonstrated.A new Visual Studio template 'ArcGIS Pro Map Pane Impersonation' has been added at ArcGIS Pro 2.0.
Language: C#
Subject: Map-Exploration
Contributor: ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization: Esri, https://www.esri.com
Date: 11/04/2024
ArcGIS Pro: 3.4
Visual Studio: 2022
.NET Target Framework: net8.0-windows
- Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.
- Download the Community Sample data (see under the 'Resources' section for downloading sample data)
- Make sure that the Sample data is unzipped in c:\data
- The project used for this sample is 'C:\data\Interacting with Maps\Interacting with Maps.aprx'
- In Visual Studio click the Build menu.Then select Build Solution.
- Click Start button to open ArcGIS Pro.
- ArcGIS Pro will open, select the Interacting with Maps.aprx project
- Select the 'Add-in' tab on the ArcGIS Pro ribbon. See the 'Open ImpersonateMapPane1' button
- Click the button and see the Impersonate pane open. Reposition the pane to view it side by side with the 2D map
Home | API Reference | Requirements | Download | Samples