Class SearchResult
Wraps a search result for display.
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class SearchResult : INotifyPropertyChanged
Constructors
Name | Description |
---|---|
SearchResult(string, string?, ISearchSource, GeoElement?, Viewpoint?) | Initializes a new instance of the SearchResult class. |
Properties
Name | Description |
---|---|
CalloutDefinition | Gets or sets the CalloutDefinition used to display the result. |
DisplaySubtitle | Gets or sets the subtitle that should be shown whenever the result is displayed. |
DisplayTitle | Gets or sets the title that should be shown whenever the result is displayed. |
GeoElement | Gets or sets the optional GeoElement for the result. This could be a graphic for a locator search, a feature for a feature layer search, or null if there is nothing to display on the map. |
MarkerImage | Gets the image displayed for this result. |
MarkerImageData | Gets or sets the image displayed for this result, in a format useful for cross-platform scenarios. |
OwningSource | Gets the search source that created this result. |
SelectionViewpoint | Gets or sets the selection viewpoint for the result. Some search sources will return a viewpoint that should be used when a result is selected. |
Events
Name | Description |
---|---|
PropertyChanged | Occurs when a property value changes. |