ArcGIS Pro自己做一个弹出菜单

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<PopupContent>();
popups.Add(new PopupContent("<b>This text is bold.</b>", "Custom tooltip from HTML string"));
popups.Add(new PopupContent(new Uri("), "Custom tooltip from Uri"));

mapView.ShowCustomPopup(popups);
}

protected override void OnClick()
{
ShowCustomPopup();

}

   
上一篇:Qt中的QByteArray和自定义结构体之间的相互转换(串口、TCP/UDP通讯)


下一篇:Custom Controller CollectionQT样式自定义 002 :NoteSlider 标签滑动条