dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Functions

GetResultsHandler(Nullable, Point, Nullable, Nullable, SpatialReference, SuggestResult, Nullable) Delegate

A function that is passed as a parameter to get search results.
ArcGIS Maps SDK for JavaScript

public delegate System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Results.SearchResult>> GetResultsHandler(System.Nullable<bool> exactMatch, dymaptic.GeoBlazor.Core.Components.Geometries.Point? location, System.Nullable<int> maxResults, System.Nullable<int> sourceIndex, dymaptic.GeoBlazor.Core.Components.SpatialReference? spatialReference, dymaptic.GeoBlazor.Core.Results.SuggestResult suggestResult, System.Nullable<System.Guid> viewId);

Parameters

exactMatch System.Nullable<System.Boolean>

The key field used to find the result.

location Point

The location value used by the Search.

maxResults System.Nullable<System.Int32>

Indicates the maximum number of search results to return.

sourceIndex System.Nullable<System.Int32>

Indicates the index of the search source.

spatialReference SpatialReference

Indicates the Spatial Reference defined by the source.

suggestResult SuggestResult

Indicates the Suggest Result that triggered the search for a result.

viewId System.Nullable<System.Guid>

Indicates the Id for the MapView or SceneView provided to the Search Widget using the source.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<SearchResult>>
A list of search results.