Parameters
- mapMember
- The MapMember containing the feature.
- featureID
- The object id of the feature.
- popupDef
- A class to set additional properties for the popup. When set to null, default values will be used.
Exception | Description |
---|---|
System.InvalidOperationException | Popups must be created on the UI thread |
public void ShowPopup(MapMember mapMember, long objectID) { //Get the active map view. var mapView = MapView.Active; if (mapView == null) return; mapView.ShowPopup(mapMember, objectID); }
Target Platforms: Windows 10, Windows 8.1