dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Results

SearchResult Class

The result object returned from the search results. ArcGIS Maps SDK for JavaScript

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

Inheritance System.Object 🡒 SearchResult

Implements System.IEquatable<SearchResult>

Constructors

SearchResult(Extent, Graphic, string, Graphic, string, Nullable) Constructor

The result object returned from the search results. ArcGIS Maps SDK for JavaScript

public SearchResult(dymaptic.GeoBlazor.Core.Components.Geometries.Extent? Extent=null, dymaptic.GeoBlazor.Core.Components.Graphic? Feature=null, string? Name=null, dymaptic.GeoBlazor.Core.Components.Graphic? Target=null, string? Key=null, System.Nullable<int> SourceIndex=null);

Parameters

Extent Extent

The extent, or bounding box, of the returned feature. ArcGIS Maps SDK for JavaScript

Feature Graphic

The resulting feature or location obtained from the search. ArcGIS Maps SDK for JavaScript

Name System.String

The name of the result. ArcGIS Maps SDK for JavaScript

Target Graphic

The target of the result, which is a Graphic used for either MapView goTo() or SceneView goTo() navigation. ArcGIS Maps SDK for JavaScript

Key System.String

The key related to the suggest result. ArcGIS Maps SDK for JavaScript

SourceIndex System.Nullable<System.Int32>

The index. ArcGIS Maps SDK for JavaScript

Properties

SearchResult.Extent Property

The extent, or bounding box, of the returned feature. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Geometries.Extent? Extent { get; init; }

Property Value

Extent

SearchResult.Feature Property

The resulting feature or location obtained from the search. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Graphic? Feature { get; init; }

Property Value

Graphic

SearchResult.Key Property

The key related to the suggest result. ArcGIS Maps SDK for JavaScript

public string? Key { get; init; }

Property Value

System.String

SearchResult.Name Property

The name of the result. ArcGIS Maps SDK for JavaScript

public string? Name { get; init; }

Property Value

System.String

SearchResult.SourceIndex Property

The index. ArcGIS Maps SDK for JavaScript

public System.Nullable<int> SourceIndex { get; init; }

Property Value

System.Nullable<System.Int32>

SearchResult.Target Property

The target of the result, which is a Graphic used for either MapView goTo() or SceneView goTo() navigation. ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Graphic? Target { get; init; }

Property Value

Graphic