GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components.Layers
WFSLayerProExtensions Class
Pro Extension methods for the WFSLayer class.
public static class WFSLayerProExtensions
Inheritance System.Object 🡒 WFSLayerProExtensions
Methods
WFSLayerProExtensions.CreatePopupTemplate(this WFSLayer, CreatePopupTemplateOptions) Method
Creates a popup template for the layer, populated with all the fields of the layer.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate?> CreatePopupTemplate(this dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer wFSLayer, dymaptic.GeoBlazor.Core.Options.CreatePopupTemplateOptions options);
Parameters
wFSLayer
dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer instance to extend with this method.
options
dymaptic.GeoBlazor.Core.Options.CreatePopupTemplateOptions
Options for creating the popup template.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate>
WFSLayerProExtensions.CreateQuery(this WFSLayer) Method
Creates query parameter object that can be used to fetch features that satisfy the layer’s configurations.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query?> CreateQuery(this dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer wFSLayer);
Parameters
wFSLayer
dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer instance to extend with this method.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query>
WFSLayerProExtensions.GetField(this WFSLayer, string) Method
Returns the Field instance for a field name (case-insensitive).
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Field?> GetField(this dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer wFSLayer, string fieldName);
Parameters
wFSLayer
dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer instance to extend with this method.
fieldName
System.String
Name of the field.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Field>
WFSLayerProExtensions.GetFieldDomain(this WFSLayer, string, WFSLayerGetFieldDomainOptions) Method
Returns the Domain associated with the given field name.
param options An object specifying additional options. See the object specification table below for the required properties of this object.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Domain?> GetFieldDomain(this dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer wFSLayer, string fieldName, dymaptic.GeoBlazor.Pro.Options.WFSLayerGetFieldDomainOptions options);
Parameters
wFSLayer
dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer instance to extend with this method.
fieldName
System.String
Name of the field.
options
WFSLayerGetFieldDomainOptions
- options.feature: The feature to which the Domain is assigned.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Domain>
WFSLayerProExtensions.QueryExtent(this WFSLayer, Query, CancellationToken) Method
Executes a Query against the layer and
returns the Extent of features that satisfy the query.
param options An object with the following properties.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.ExtentQueryResult?> QueryExtent(this dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer wFSLayer, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
wFSLayer
dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer instance to extend with this method.
query
dymaptic.GeoBlazor.Core.Model.Query
Specifies the attributes and spatial filter of the query. If no parameters are specified, then the extent and count of all features satisfying the layer’s configuration/filters are returned.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.ExtentQueryResult>
WFSLayerProExtensions.QueryFeatureCount(this WFSLayer, Query, CancellationToken) Method
Executes a Query against the layer and
returns the number of features that satisfy the query.
param options An object with the following properties.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<System.Nullable<int>> QueryFeatureCount(this dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer wFSLayer, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
wFSLayer
dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer instance to extend with this method.
query
dymaptic.GeoBlazor.Core.Model.Query
Specifies the attributes and spatial filter of the query. If no parameters are specified, the total number of features satisfying the layer’s configuration/filters is returned.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int32>>
WFSLayerProExtensions.QueryFeatures(this WFSLayer, Query, CancellationToken) Method
Executes a Query against the layer and returns a
FeatureSet once the promise resolves.
param options An object with the following properties.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet?> QueryFeatures(this dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer wFSLayer, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
wFSLayer
dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer instance to extend with this method.
query
dymaptic.GeoBlazor.Core.Model.Query
Specifies the attributes and spatial filter of the query. If no parameters are specified, then all features satisfying the layer’s configuration/filters are returned.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet>
WFSLayerProExtensions.QueryObjectIds(this WFSLayer, Query, CancellationToken) Method
Executes a Query against the layer and returns an
array of Object IDs for features that satisfy the input query.
param options An object with the following properties.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.ObjectId[]?> QueryObjectIds(this dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer wFSLayer, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
wFSLayer
dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer
The dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer instance to extend with this method.
query
dymaptic.GeoBlazor.Core.Model.Query
Specifies the attributes and spatial filter of the query. If no parameters are specified, then the Object IDs of all features satisfying the layer’s configuration/filters are returned.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.ObjectId[]>