Show / Hide Table of Contents

Constructor CalloutDefinition

CalloutDefinition(String)

Initializes a new instance of the CalloutDefinition class.

Declaration
public CalloutDefinition(string text)
Parameters
Type Name Description
String text

The title text in the callout

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 iOS200
.NET Framework100.1 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.1 - 100.14
iOS100.1 - 100.15
UWP100.1 - 200.0
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
String text

The title text in the callout

String detailText

The description text in the callout

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 iOS200
.NET Framework100.1 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.1 - 100.14
iOS100.1 - 100.15
UWP100.1 - 200.0
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
TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.1 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.1 - 100.15
iOS100.1 - 100.15
UWP100.1 - 200.0
In This Article
Back to top Copyright © 2022 Esri.