ArcGIS Pro自己做一个弹出菜单

public void ShowCustomPopup()
{
//Get the active map view.
var mapView = MapView.Active;
if (mapView == null)
return;

//Create custom popup content
var popups = new List();
popups.Add(new PopupContent("This text is bold.", "Custom tooltip from HTML string"));
popups.Add(new PopupContent(new Uri("https://www.cnblogs.com/gisoracle/"), "Custom tooltip from Uri"));

mapView.ShowCustomPopup(popups);
}

protected override void OnClick()
{
ShowCustomPopup();

}

你可能感兴趣的:(ArcGIS Pro自己做一个弹出菜单)