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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |