dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Functions
GetSuggestionsHandler(Nullable, Nullable, SpatialReference, string, Nullable) Delegate
An object that is passed as a parameter to get search suggestions.
ArcGIS Maps SDK for JavaScript
public delegate System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Results.SuggestResult>> GetSuggestionsHandler(System.Nullable<int> maxSuggestions, System.Nullable<int> sourceIndex, dymaptic.GeoBlazor.Core.Components.SpatialReference? spatialReference, string? suggestTerm, System.Nullable<System.Guid> viewId);
Parameters
maxSuggestions
System.Nullable<System.Int32>
Indicates the maximum number of suggestions to return for the widget’s input.
sourceIndex
System.Nullable<System.Int32>
Indicates the index of the search source.
spatialReference
SpatialReference
Indicates the Spatial Refeference defined by the source.
suggestTerm
System.String
Indicates search term used to find a suggestion.
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<SuggestResult>>
An array of suggestions.