dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Results

SuggestionResult Class

Describes the object representing the result of the suggestLocations() method. ArcGIS Maps SDK for JavaScript

public record SuggestionResult : System.IEquatable<dymaptic.GeoBlazor.Core.Results.SuggestionResult>

Inheritance System.Object 🡒 SuggestionResult

Implements System.IEquatable<SuggestionResult>

Constructors

SuggestionResult(bool, string, string) Constructor

Describes the object representing the result of the suggestLocations() method. ArcGIS Maps SDK for JavaScript

public SuggestionResult(bool IsCollection, string MagicKey, string Text);

Parameters

IsCollection System.Boolean

Indicates if the result is a Collection. ArcGIS Maps SDK for JavaScript

MagicKey System.String

ID used in combination with the `text` property to uniquely identify a suggestion. ArcGIS Maps SDK for JavaScript

Text System.String

The string name of the suggested location to geocode. ArcGIS Maps SDK for JavaScript

Properties

SuggestionResult.IsCollection Property

Indicates if the result is a Collection. ArcGIS Maps SDK for JavaScript

public bool IsCollection { get; init; }

Property Value

System.Boolean

SuggestionResult.MagicKey Property

ID used in combination with the `text` property to uniquely identify a suggestion. ArcGIS Maps SDK for JavaScript

public string MagicKey { get; init; }

Property Value

System.String

SuggestionResult.Text Property

The string name of the suggested location to geocode. ArcGIS Maps SDK for JavaScript

public string Text { get; init; }

Property Value

System.String