Click or drag to resize

GeoViewShowCalloutForGeoElement Method

Shows a callout for the given GeoElement at an appropriate location for the tap location by snapping to the geometry of the element.

Namespace:  Esri.ArcGISRuntime.UI.Controls
Assembly:  Esri.ArcGISRuntime.WPF (in Esri.ArcGISRuntime.WPF.dll) Version: 100.11.0
Syntax
public void ShowCalloutForGeoElement(
	GeoElement element,
	Point tapPosition,
	CalloutDefinition definition
)

Parameters

element
Type: Esri.ArcGISRuntime.DataGeoElement
The GeoElement used to calculate the placement of the callout.
tapPosition
Type: System.WindowsPoint
The position the user tapped the view to use for calculating an adjusted callout location.
definition
Type: Esri.ArcGISRuntime.UICalloutDefinition
The callout definition.
Remarks
If the Icon property is not set, this method will also attempt to set the Icon property from the symbol used on the GeoElement.
See Also