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

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer.html#wfslayercreatepopuptemplate-method”>GeoBlazor Docs</a> Creates a popup template for the layer, populated with all the fields of the layer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#createPopupTemplate”>ArcGIS Maps SDK for JavaScript</a>

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

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer.html#wfslayercreatequery-method”>GeoBlazor Docs</a> Creates query parameter object that can be used to fetch features that satisfy the layer’s configurations. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#createQuery”>ArcGIS Maps SDK for JavaScript</a>

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

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer.html#wfslayergetfield-method”>GeoBlazor Docs</a> Returns the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Field.html”>Field</a> instance for a field name (case-insensitive). <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#getField”>ArcGIS Maps SDK for JavaScript</a>

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

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer.html#wfslayergetfielddomain-method”>GeoBlazor Docs</a> Returns the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Domain.html”>Domain</a> 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. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#getFieldDomain”>ArcGIS Maps SDK for JavaScript</a>

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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Domain.html”>Domain</a> is assigned.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Domain>

WFSLayerProExtensions.QueryExtent(this WFSLayer, Query, CancellationToken) Method

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer.html#wfslayerqueryextent-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> against the layer and returns the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html”>Extent</a> of features that satisfy the query. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#queryExtent”>ArcGIS Maps SDK for JavaScript</a>

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

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer.html#wfslayerqueryfeaturecount-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> against the layer and returns the number of features that satisfy the query. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#queryFeatureCount”>ArcGIS Maps SDK for JavaScript</a>

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

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer.html#wfslayerqueryfeatures-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> against the layer and returns a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html”>FeatureSet</a> once the promise resolves. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#queryFeatures”>ArcGIS Maps SDK for JavaScript</a>

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

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.WFSLayer.html#wfslayerqueryobjectids-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> 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. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html#queryObjectIds”>ArcGIS Maps SDK for JavaScript</a>

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[]>