How to create a window like the build-in Measure Distance tool.

382
1
Jump to solution
08-27-2021 06:49 AM
FredB
by
New Contributor II

Hello,

I'ld like to build a tool with the same interaction as the build-in measure distance tool. So when we click on the tool button, a window opens. This window stays on the map area and can be reduced. And when we click on another tool, the window closes.

The Measure Distance toolThe Measure Distance tool

Is there a build-in type for this in c# / daml or should I make a tool with a separate prowindow with some parameters to let it be reducable and stays on the map.

 

Thanks a lot !

0 Kudos
1 Solution

Accepted Solutions
UmaHarano
Esri Regular Contributor

Hi,

You can use the "Embeddable control" to accomplish this. The Pro SDK Embeddable Control item template will help get you started with this. This control can be used with a Map Tool. When you activate the map tool, the embeddable control on the map will be visible.

Here is a link with documentation help: https://github.com/Esri/arcgis-pro-sdk/wiki#embeddable-control 

Thanks

Uma

View solution in original post

0 Kudos
1 Reply
UmaHarano
Esri Regular Contributor

Hi,

You can use the "Embeddable control" to accomplish this. The Pro SDK Embeddable Control item template will help get you started with this. This control can be used with a Map Tool. When you activate the map tool, the embeddable control on the map will be visible.

Here is a link with documentation help: https://github.com/Esri/arcgis-pro-sdk/wiki#embeddable-control 

Thanks

Uma

0 Kudos