Show / Hide Table of Contents

Method ShowCalloutForGeoElement

ShowCalloutForGeoElement(GeoElement, Point, CalloutDefinition)

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

Declaration
public async void ShowCalloutForGeoElement(GeoElement element, Point tapPosition, CalloutDefinition definition)
Parameters
Type Name Description
GeoElement element

The GeoElement used to calculate the placement of the callout.

Point tapPosition

The position the user tapped the view to use for calculating an adjusted callout location.

CalloutDefinition definition

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
CalloutDefinition(GeoElement)

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.0
.NET Framework100.1 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.