This sample shows how to author a dynamic pop-up menu as an extension of a map exploration tool.
In this example a mouse click on a map that contains a high density points is used to pop-up a dynamic menu showing all point features intersecting the mouse click area. The dynamic pop-up can then be used to select a single feature.
Language: C#
Subject: Framework
Contributor: ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization: Esri, https://www.esri.com
Date: 04/04/2024
ArcGIS Pro: 3.3
Visual Studio: 2022
.NET Target Framework: net8.0-windows
- Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.
- In Visual Studio click the Build menu. Then select Build Solution.
- Launch the debugger to open ArcGIS Pro.
- ArcGIS Pro will open.
- Open the "C:\Data\Interacting with Maps\Interacting with Maps.aprx" project.
- Click on the Add-In tab on the ribbon.
- Within this tab there is a Show Selection Pop-up tool. Click on the tool button to activate the tool.
- On the map click on an area with high feature point density as shown here.
- The pop-up menu show all features that intersect the point click area.
- Click one of the feature
- Verify that the feature was really selected.
Home | API Reference | Requirements | Download | Samples