Method ShowCalloutAt
ShowCalloutAt(MapPoint, CalloutDefinition)
Shows a callout based on a CalloutDefinition at the given location.
Declaration
public void ShowCalloutAt(MapPoint location, CalloutDefinition definition)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | location | Location to anchor the callout to. |
CalloutDefinition | definition | The callout definition. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET | 200.0 - 200.6 |
.NET Windows | 200.0 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
ShowCalloutAt(MapPoint, VisualElement, Point)
Shows a callout at the given location with a Microsoft.Maui.Controls.VisualElement as content.
Declaration
public void ShowCalloutAt(MapPoint location, VisualElement calloutContent, Point leaderOffset = default(Point))
Parameters
Type | Name | Description |
---|---|---|
MapPoint | location | Location to anchor the callout to. |
Microsoft.Maui.Controls.VisualElement | calloutContent | The content of the callout. |
Microsoft.Maui.Graphics.Point | leaderOffset | Adds additional offset to the Callout in pixels relative to the location. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET | 200.4 - 200.6 |
.NET Windows | 200.4 - 200.6 |
.NET Android | 200.4 - 200.6 |
.NET iOS | 200.4 - 200.6 |