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();

}

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2022-01-01
  • 2021-11-23
  • 2021-08-27
  • 2021-10-03
  • 2021-07-20
猜你喜欢
  • 2021-06-15
  • 2021-10-23
  • 2021-10-24
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案