GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

GeoJSONLayerViewProExtensions Class

Pro Extension methods for the GeoJSONLayerView class.

public static class GeoJSONLayerViewProExtensions

Inheritance System.Object 🡒 GeoJSONLayerViewProExtensions

Methods

GeoJSONLayerViewProExtensions.CreateAggregateQuery(this GeoJSONLayerView) Method

Creates query parameter object that can be used to fetch aggregate features as they are being
displayed.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query?> CreateAggregateQuery(this dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView geoJSONLayerView);

Parameters

geoJSONLayerView dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView

The dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView instance to extend with this method.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query>

GeoJSONLayerViewProExtensions.CreateQuery(this GeoJSONLayerView) Method

Creates a query parameter object that can be used to fetch features as they are being
displayed.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query?> CreateQuery(this dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView geoJSONLayerView);

Parameters

geoJSONLayerView dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView

The dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView instance to extend with this method.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query>

GeoJSONLayerViewProExtensions.QueryAggregates(this GeoJSONLayerView, Query, CancellationToken) Method

Executes a Query against aggregate features (i.e.
param options An object with the following properties.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet?> QueryAggregates(this dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView geoJSONLayerView, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

geoJSONLayerView dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView

The dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView instance to extend with this method.

query dymaptic.GeoBlazor.Core.Model.Query

Specifies the parameters of the query. Leave this parameter empty to query all aggregates in the view.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet>

GeoJSONLayerViewProExtensions.QueryAttributeBins(this GeoJSONLayerView, AttributeBinsQuery, CancellationToken) Method

Executes a AttributeBinsQuery against features available for drawing, which groups features into bins based on ranges in numeric or date fields, and returns a
FeatureSet containing the series of bins.
param options An object with the following properties.
ArcGIS Maps SDK for JavaScript

public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Model.AttributeBinsFeatureSet?> QueryAttributeBins(this dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView geoJSONLayerView, dymaptic.GeoBlazor.Pro.Model.AttributeBinsQuery binsQuery, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

geoJSONLayerView dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView

The dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView instance to extend with this method.

binsQuery AttributeBinsQuery

Specifies the parameters of the queryAttributeBins() operation. The binParameters property must be set.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<AttributeBinsFeatureSet>

GeoJSONLayerViewProExtensions.QueryExtent(this GeoJSONLayerView, Query, CancellationToken) Method

Executes a Query against features available for drawing in the layerView 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.GeoJSONLayerView geoJSONLayerView, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

geoJSONLayerView dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView

The dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView instance to extend with this method.

query dymaptic.GeoBlazor.Core.Model.Query

Specifies the attributes and spatial filter of the query. When no parameters are passed to this method, all features in the client are returned. To only return features visible in the view, set the geometry parameter in the query object to the view’s extent.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.ExtentQueryResult>

GeoJSONLayerViewProExtensions.QueryFeatureCount(this GeoJSONLayerView, Query, CancellationToken) Method

Executes a Query against features available for drawing in the layerView
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.GeoJSONLayerView geoJSONLayerView, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

geoJSONLayerView dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView

The dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView instance to extend with this method.

query dymaptic.GeoBlazor.Core.Model.Query

Specifies the attributes and spatial filter of the query. When no parameters are passed to this method, all features in the client are returned. To only return features visible in the view, set the geometry parameter in the query object to the view’s extent.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<System.Nullable<System.Int32>>

GeoJSONLayerViewProExtensions.QueryFeatures(this GeoJSONLayerView, Query, CancellationToken) Method

Executes a Query against features available for drawing in the layerView
and returns a FeatureSet.
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.GeoJSONLayerView geoJSONLayerView, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

geoJSONLayerView dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView

The dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView instance to extend with this method.

query dymaptic.GeoBlazor.Core.Model.Query

Specifies the attributes and spatial filter of the query. When this parameter is not passed to queryFeatures() method, then a default query is created using createQuery() method and all features that pass the layer view filter are returned along with their attributes that are available on the client. To only return features visible in the view, set the geometry parameter in the query object to the view’s extent.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet>

GeoJSONLayerViewProExtensions.QueryObjectIds(this GeoJSONLayerView, Query, CancellationToken) Method

Executes a Query against features available for drawing in
the layerView and returns array of the ObjectIDs of 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.GeoJSONLayerView geoJSONLayerView, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

geoJSONLayerView dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView

The dymaptic.GeoBlazor.Core.Components.GeoJSONLayerView instance to extend with this method.

query dymaptic.GeoBlazor.Core.Model.Query

Specifies the attributes and spatial filter of the query. When no parameters are passed to this method, all features in the client are returned. To only return features visible in the view, set the geometry parameter in the query object to the view’s extent.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.ObjectId[]>