Constructor CalloutDefinition
CalloutDefinition(String)
Initializes a new instance of the CalloutDefinition class.
Declaration
public CalloutDefinition(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | The title text in the callout |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .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 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.14 |
Relevant samples
Mobile map (search and route): Display maps and use locators to enable search and routing offline using a Mobile Map Package.
CalloutDefinition(String, String)
Initializes a new instance of the CalloutDefinition class.
Declaration
public CalloutDefinition(string text, string detailText)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | The title text in the callout |
| System.String | detailText | The description text in the callout |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .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 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.14 |
Relevant samples
Find address: Find the location for an address.
Find place: Find places of interest near a location or within a specific area.
Offline geocode: Geocode addresses to locations and reverse geocode locations to addresses offline.
Project: Project a point from one spatial reference to another.
Reverse geocode: Use an online service to find the address for a tapped point.
CalloutDefinition(GeoElement)
Initializes a new instance of the CalloutDefinition class from a GeoElement
Declaration
public CalloutDefinition(GeoElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoElement | element | The element to create the definition for. |
Remarks
The Text, LeaderOffsetX and LeaderOffsetY will be attempted to be set from the display name and symbols used on the element.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .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 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |