ArcGIS Pro自己做一个弹出菜单
Posted gisoracle
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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("https://www.cnblogs.com/gisoracle/"), "Custom tooltip from Uri"));
mapView.ShowCustomPopup(popups);
}
protected override void OnClick()
{
ShowCustomPopup();
}
以上是关于ArcGIS Pro自己做一个弹出菜单的主要内容,如果未能解决你的问题,请参考以下文章