dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
SearchLayer Class
Represents a layer to be included in search.
ArcGIS Maps SDK for JavaScript
public class SearchLayer : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SearchLayer
Constructors
SearchLayer() Constructor
Parameterless constructor for use as a Razor Component.
public SearchLayer();
SearchLayer(SearchLayerField, string, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public SearchLayer(dymaptic.GeoBlazor.Core.Components.SearchLayerField? field=null, string? searchLayerId=null, System.Nullable<double> subLayer=null);
Parameters
field
SearchLayerField
The field to use for search.
ArcGIS Maps SDK for JavaScript
searchLayerId
System.String
The id of the layer.
ArcGIS Maps SDK for JavaScript
subLayer
System.Nullable<System.Double>
The sub layer index.
ArcGIS Maps SDK for JavaScript
Properties
SearchLayer.Field Property
The field to use for search.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SearchLayerField? Field { get; set; }
Property Value
SearchLayer.SearchLayerId Property
The id of the layer.
ArcGIS Maps SDK for JavaScript
public string? SearchLayerId { get; set; }
Property Value
SearchLayer.SubLayer Property
The sub layer index.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> SubLayer { get; set; }
Property Value
System.Nullable<System.Double>
Methods
SearchLayer.GetField() Method
Asynchronously retrieve the current value of the Field property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SearchLayerField?> GetField();
Returns
System.Threading.Tasks.Task<SearchLayerField>
SearchLayer.GetSearchLayerId() Method
Asynchronously retrieve the current value of the SearchLayerId property.
public System.Threading.Tasks.Task<string?> GetSearchLayerId();
Returns
System.Threading.Tasks.Task<System.String>
SearchLayer.GetSubLayer() Method
Asynchronously retrieve the current value of the SubLayer property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetSubLayer();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SearchLayer.SetField(SearchLayerField) Method
Asynchronously set the value of the Field property after render.
public System.Threading.Tasks.Task SetField(dymaptic.GeoBlazor.Core.Components.SearchLayerField? value);
Parameters
value
SearchLayerField
The value to set.
Returns
SearchLayer.SetSearchLayerId(string) Method
Asynchronously set the value of the SearchLayerId property after render.
public System.Threading.Tasks.Task SetSearchLayerId(string? value);
Parameters
value
System.String
The value to set.
Returns
SearchLayer.SetSubLayer(Nullable) Method
Asynchronously set the value of the SubLayer property after render.
public System.Threading.Tasks.Task SetSubLayer(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SearchLayer.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()