GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components.Layers
CSVLayerProExtensions Class
Pro Extension methods for the CSVLayer class.
public static class CSVLayerProExtensions
Inheritance System.Object 🡒 CSVLayerProExtensions
Methods
CSVLayerProExtensions.CreatePopupTemplate(this CSVLayer, 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.CSVLayer cSVLayer, dymaptic.GeoBlazor.Core.Options.CreatePopupTemplateOptions options);
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer 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>
CSVLayerProExtensions.CreateQuery(this CSVLayer) Method
Creates query parameters that can be used to fetch features that
satisfy the layer’s current filters, and definitions.
ArcGIS Maps SDK for JavaScript
public static System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query?> CreateQuery(this dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer cSVLayer);
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer instance to extend with this method.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query>
CSVLayerProExtensions.GetField(this CSVLayer, 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.CSVLayer cSVLayer, string fieldName);
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer instance to extend with this method.
fieldName
System.String
Name of the field.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Field>
CSVLayerProExtensions.GetFieldDomain(this CSVLayer, string, CSVLayerGetFieldDomainOptions) 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.CSVLayer cSVLayer, string fieldName, dymaptic.GeoBlazor.Pro.Options.CSVLayerGetFieldDomainOptions options);
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer instance to extend with this method.
fieldName
System.String
Name of the field.
options
CSVLayerGetFieldDomainOptions
- options.feature: The feature to which the Domain is assigned.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Domain>
CSVLayerProExtensions.QueryAttributeBins(this CSVLayer, AttributeBinsQuery, CancellationToken) Method
Executes a AttributeBinsQuery against a CSVLayer, 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.Layers.CSVLayer cSVLayer, dymaptic.GeoBlazor.Pro.Model.AttributeBinsQuery binsQuery, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer 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>
CSVLayerProExtensions.QueryExtent(this CSVLayer, Query, CancellationToken) Method
Executes a Query against the CSV data 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.CSVLayer cSVLayer, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer 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>
CSVLayerProExtensions.QueryFeatureCount(this CSVLayer, Query, CancellationToken) Method
Executes a Query against the CSV data 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.CSVLayer cSVLayer, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer 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>>
CSVLayerProExtensions.QueryFeatures(this CSVLayer, Query, CancellationToken) Method
Executes a Query against the CSV data 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.CSVLayer cSVLayer, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer 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.FeatureSet>
CSVLayerProExtensions.QueryObjectIds(this CSVLayer, Query, CancellationToken) Method
Executes a Query against the CSV data 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.CSVLayer cSVLayer, dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
cSVLayer
dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer
The dymaptic.GeoBlazor.Core.Components.Layers.CSVLayer 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[]>