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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.14 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
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 TextExpression, LeaderOffsetX and LeaderOffsetY will be attempted to be set from the display name and symbol used on the element.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
CalloutDefinition(GeoElement, String, String)
Initializes a new instance of the CalloutDefinition class from a GeoElement
Declaration
public CalloutDefinition(GeoElement element, string textExpression, string detailTextExpression = null)
Parameters
Type | Name | Description |
---|---|---|
GeoElement | element | The element to create the definition for. |
System.String | textExpression | The Arcade expression for the title. |
System.String | detailTextExpression | The Arcade expression for the details. |
Remarks
The LeaderOffsetX and LeaderOffsetY will be attempted to be set from the symbol used on the element.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.6 |
.NET | 200.3 - 200.6 |
.NET Windows | 200.3 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.3 - 200.6 |
.NET Framework | 200.3 - 200.6 |
UWP | 200.3 - 200.6 |