Skip to content

Latest commit

 

History

History

MapToolWithDynamicMenu

MapToolWithDynamicMenu

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.

View it live

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

Resources

Community Sample Resources

Samples Data

  • Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.

How to use the sample

  1. In Visual Studio click the Build menu. Then select Build Solution.
  2. Launch the debugger to open ArcGIS Pro.
  3. ArcGIS Pro will open.
  4. Open the "C:\Data\Interacting with Maps\Interacting with Maps.aprx" project.
  5. Click on the Add-In tab on the ribbon.
  6. Within this tab there is a Show Selection Pop-up tool. Click on the tool button to activate the tool.
  7. On the map click on an area with high feature point density as shown here.
    UI
  8. The pop-up menu show all features that intersect the point click area.
  9. Click one of the feature
  10. Verify that the feature was really selected.
    UI

      ArcGIS Pro SDK for Microsoft .NET Framework              Home | API Reference | Requirements | Download | Samples