GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
SubtypeSublayer Class
Represents a sublayer in a SubtypeGroupLayer. ArcGIS Maps SDK for JavaScript
public class SubtypeSublayer : dymaptic.GeoBlazor.Core.Components.MapComponent, dymaptic.GeoBlazor.Core.Interfaces.IFeatureSetLayer, dymaptic.GeoBlazor.Core.Interfaces.IMapComponent, dymaptic.GeoBlazor.Core.Interfaces.IFeatureTemplatesViewModelLayers, dymaptic.GeoBlazor.Core.Interfaces.IFeatureTemplatesWidgetLayers, dymaptic.GeoBlazor.Core.Interfaces.IHitTestItem, dymaptic.GeoBlazor.Core.Interfaces.IInputBaseLayers, dymaptic.GeoBlazor.Core.Interfaces.IIntersectItem
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SubtypeSublayer
Implements IFeatureSetLayer, IMapComponent, IFeatureTemplatesViewModelLayers, IFeatureTemplatesWidgetLayers, IHitTestItem, IInputBaseLayers, IIntersectItem
Constructors
SubtypeSublayer() Constructor
Parameterless constructor for use as a Razor Component.
public SubtypeSublayer();
SubtypeSublayer(AttributeTableTemplate, Nullable, IFormTemplate, IReadOnlyList
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public SubtypeSublayer(dymaptic.GeoBlazor.Pro.Components.AttributeTableTemplate? attributeTableTemplate=null, System.Nullable<bool> editingEnabled=null, dymaptic.GeoBlazor.Core.Interfaces.IFormTemplate? formTemplate=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>? labelingInfo=null, System.Nullable<bool> labelsVisible=null, System.Nullable<bool> legendEnabled=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.ListMode> listMode=null, System.Nullable<double> maxScale=null, System.Nullable<double> minScale=null, System.Nullable<double> opacity=null, System.Nullable<bool> popupEnabled=null, dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate? popupTemplate=null, dymaptic.GeoBlazor.Core.Components.Renderers.Renderer? renderer=null, System.Nullable<double> subtypeCode=null, string? subtypeSublayerId=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.FeatureTemplate>? templates=null, string? title=null, System.Nullable<bool> visible=null);
Parameters
attributeTableTemplate
AttributeTableTemplate
This property is used to configure the associated layer’s FeatureTable. ArcGIS Maps SDK for JavaScript
editingEnabled
System.Nullable<System.Boolean>
Determines if the layer is editable. default true ArcGIS Maps SDK for JavaScript
formTemplate
IFormTemplate
The template used in an associated layer’s FeatureForm. ArcGIS Maps SDK for JavaScript
labelingInfo
System.Collections.Generic.IReadOnlyList<Label>
The label definition for this layer, specified as an array of LabelClass. ArcGIS Maps SDK for JavaScript
labelsVisible
System.Nullable<System.Boolean>
Indicates whether to display labels for this layer. default true ArcGIS Maps SDK for JavaScript
legendEnabled
System.Nullable<System.Boolean>
Indicates whether the layer will be included in the legend. default true ArcGIS Maps SDK for JavaScript
listMode
System.Nullable<ListMode>
Indicates how the layer should display in the LayerList widget. default “show” ArcGIS Maps SDK for JavaScript
maxScale
System.Nullable<System.Double>
The maximum scale (most zoomed in) at which the layer is visible in the view. default 0 ArcGIS Maps SDK for JavaScript
minScale
System.Nullable<System.Double>
The minimum scale (most zoomed out) at which the layer is visible in the view. default 0 ArcGIS Maps SDK for JavaScript
opacity
System.Nullable<System.Double>
The opacity of the layer. default 1 ArcGIS Maps SDK for JavaScript
popupEnabled
System.Nullable<System.Boolean>
Indicates whether to display popups when features in the layer are clicked. default true ArcGIS Maps SDK for JavaScript
popupTemplate
PopupTemplate
The popup template for the layer. ArcGIS Maps SDK for JavaScript
renderer
Renderer
The renderer assigned to the layer. ArcGIS Maps SDK for JavaScript
subtypeCode
System.Nullable<System.Double>
The unique identifier representing the SubtypeSublayer created from the SubtypeGroupLayer. default null ArcGIS Maps SDK for JavaScript
subtypeSublayerId
System.String
The unique ID assigned to the layer. ArcGIS Maps SDK for JavaScript
templates
System.Collections.Generic.IReadOnlyList<FeatureTemplate>
An array of feature templates defined in the feature layer. ArcGIS Maps SDK for JavaScript
title
System.String
The title of the layer used to identify it in places such as the Legend widget. ArcGIS Maps SDK for JavaScript
visible
System.Nullable<System.Boolean>
Indicates if the layer is visible in the View. default true ArcGIS Maps SDK for JavaScript
Properties
SubtypeSublayer.AttributeTableTemplate Property
This property is used to configure the associated layer’s FeatureTable. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Pro.Components.AttributeTableTemplate? AttributeTableTemplate { get; set; }
Property Value
SubtypeSublayer.Capabilities Property
Describes the layer’s supported capabilities. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Capabilities? Capabilities { get; }
Property Value
SubtypeSublayer.EditingEnabled Property
Determines if the layer is editable. default true ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> EditingEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SubtypeSublayer.EffectiveCapabilities Property
Describes effective capabilities of the layer taking in to consideration privileges of the currently signed-in user. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Capabilities? EffectiveCapabilities { get; }
Property Value
SubtypeSublayer.EffectiveEditingEnabled Property
Indicates whether the layer is editable taking in to consideration privileges of the currently signed-in user and whether the parent subtype group layer is editable or not. ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> EffectiveEditingEnabled { get; }
Property Value
System.Nullable<System.Boolean>
SubtypeSublayer.Fields Property
An array of fields in the layer. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Field>? Fields { get; }
Property Value
System.Collections.Generic.IReadOnlyList<Field>
SubtypeSublayer.FieldsIndex Property
A convenient property that can be used to make case-insensitive lookups for a field by name. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.FieldsIndex? FieldsIndex { get; }
Property Value
SubtypeSublayer.FormTemplate Property
The template used in an associated layer’s FeatureForm. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Interfaces.IFormTemplate? FormTemplate { get; set; }
Property Value
SubtypeSublayer.GeometryType Property
The geometry type of features in the layer. ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureGeometryType> GeometryType { get; }
Property Value
System.Nullable<FeatureGeometryType>
SubtypeSublayer.GlobalIdField Property
The name of an `guid` field containing a unique value or identifier for each feature in the layer. ArcGIS Maps SDK for JavaScript
public string? GlobalIdField { get; }
Property Value
SubtypeSublayer.LabelingInfo Property
The label definition for this layer, specified as an array of LabelClass. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>? LabelingInfo { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Label>
SubtypeSublayer.LabelsVisible Property
Indicates whether to display labels for this layer. default true ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> LabelsVisible { get; set; }
Property Value
System.Nullable<System.Boolean>
SubtypeSublayer.LegendEnabled Property
Indicates whether the layer will be included in the legend. default true ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> LegendEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SubtypeSublayer.ListMode Property
Indicates how the layer should display in the LayerList widget. default “show” ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.ListMode> ListMode { get; set; }
Property Value
SubtypeSublayer.MaxScale Property
The maximum scale (most zoomed in) at which the layer is visible in the view. default 0 ArcGIS Maps SDK for JavaScript
public System.Nullable<double> MaxScale { get; set; }
Property Value
System.Nullable<System.Double>
SubtypeSublayer.MinScale Property
The minimum scale (most zoomed out) at which the layer is visible in the view. default 0 ArcGIS Maps SDK for JavaScript
public System.Nullable<double> MinScale { get; set; }
Property Value
System.Nullable<System.Double>
SubtypeSublayer.ObjectIdField Property
The name of an `oid` field containing a unique value or identifier for each feature in the layer. ArcGIS Maps SDK for JavaScript
public string? ObjectIdField { get; }
Property Value
SubtypeSublayer.Opacity Property
The opacity of the layer. default 1 ArcGIS Maps SDK for JavaScript
public System.Nullable<double> Opacity { get; set; }
Property Value
System.Nullable<System.Double>
SubtypeSublayer.PopupEnabled Property
Indicates whether to display popups when features in the layer are clicked. default true ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> PopupEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
SubtypeSublayer.PopupTemplate Property
The popup template for the layer. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate? PopupTemplate { get; set; }
Property Value
SubtypeSublayer.Relationships Property
Array of relationships set up for the layer. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.Relationship>? Relationships { get; }
Property Value
System.Collections.Generic.IReadOnlyList<Relationship>
SubtypeSublayer.Renderer Property
The renderer assigned to the layer. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Renderers.Renderer? Renderer { get; set; }
Property Value
SubtypeSublayer.SpatialReference Property
The spatial reference of the layer. ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.SpatialReference? SpatialReference { get; }
Property Value
SubtypeSublayer.SubtypeCode Property
The unique identifier representing the SubtypeSublayer created from the SubtypeGroupLayer. default null ArcGIS Maps SDK for JavaScript
public System.Nullable<double> SubtypeCode { get; set; }
Property Value
System.Nullable<System.Double>
SubtypeSublayer.SubtypeField Property
The name of the field which holds the id of the subtypes. ArcGIS Maps SDK for JavaScript
public string? SubtypeField { get; }
Property Value
SubtypeSublayer.SubtypeSublayerId Property
The unique ID assigned to the layer. ArcGIS Maps SDK for JavaScript
public string? SubtypeSublayerId { get; set; }
Property Value
SubtypeSublayer.Templates Property
An array of feature templates defined in the feature layer. ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.FeatureTemplate>? Templates { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<FeatureTemplate>
SubtypeSublayer.Title Property
The title of the layer used to identify it in places such as the Legend widget. ArcGIS Maps SDK for JavaScript
public string? Title { get; set; }
Property Value
SubtypeSublayer.Url Property
The absolute URL of the REST endpoint of the feature service. ArcGIS Maps SDK for JavaScript
public string? Url { get; }
Property Value
Methods
SubtypeSublayer.AddAttachment(Graphic, ElementReference) Method
Adds an attachment to a feature. param attachment HTML form that contains a file upload field specifying the file to be added as an attachment. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.FeatureEditResult?> AddAttachment(dymaptic.GeoBlazor.Core.Components.Graphic feature, Microsoft.AspNetCore.Components.ElementReference attachment);
Parameters
feature
Graphic
Feature to associate with the added attachment.
attachment
Microsoft.AspNetCore.Components.ElementReference
HTML form that contains a file upload field specifying the file to be added as an attachment.
Returns
System.Threading.Tasks.Task<FeatureEditResult>
SubtypeSublayer.AddToLabelingInfo(Label[]) Method
Asynchronously adds elements to the LabelingInfo property.
public System.Threading.Tasks.Task AddToLabelingInfo(params dymaptic.GeoBlazor.Core.Components.Label[] values);
Parameters
The elements to add.
Returns
SubtypeSublayer.AddToTemplates(FeatureTemplate[]) Method
Asynchronously adds elements to the Templates property.
public System.Threading.Tasks.Task AddToTemplates(params dymaptic.GeoBlazor.Pro.Components.FeatureTemplate[] values);
Parameters
values
FeatureTemplate[]
The elements to add.
Returns
SubtypeSublayer.ApplyEdits(SubtypeSublayerEdits, SubtypeSublayerApplyEditsOptions) Method
Applies edits to features in a layer. param options Additional edit options to specify when editing features or attachments. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.FeatureEditsResult?> ApplyEdits(dymaptic.GeoBlazor.Core.Model.SubtypeSublayerEdits edits, dymaptic.GeoBlazor.Core.Options.SubtypeSublayerApplyEditsOptions options);
Parameters
edits
SubtypeSublayerEdits
Object containing features and attachments to be added, updated or deleted.
options
SubtypeSublayerApplyEditsOptions
Additional edit options to specify when editing features or attachments.
Returns
System.Threading.Tasks.Task<FeatureEditsResult>
SubtypeSublayer.CancelLoad() Method
Cancels a load() operation if it is already in progress. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task CancelLoad();
Returns
SubtypeSublayer.CreatePopupTemplate(CreatePopupTemplateOptions) Method
Creates a popup template for the layer, populated with all the fields of the layer. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate?> CreatePopupTemplate(dymaptic.GeoBlazor.Core.Options.CreatePopupTemplateOptions options);
Parameters
options
CreatePopupTemplateOptions
Options for creating the popup template.
Returns
System.Threading.Tasks.Task<PopupTemplate>
SubtypeSublayer.CreateQuery() 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 System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query?> CreateQuery();
Returns
System.Threading.Tasks.Task<Query>
SubtypeSublayer.DeleteAttachments(Graphic, IReadOnlyCollection) Method
Deletes attachments from a feature. param attachmentIds Ids of the attachments to be deleted. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.FeatureEditResult[]?> DeleteAttachments(dymaptic.GeoBlazor.Core.Components.Graphic feature, System.Collections.Generic.IReadOnlyCollection<long> attachmentIds);
Parameters
feature
Graphic
Feature containing attachments to be deleted.
attachmentIds
System.Collections.Generic.IReadOnlyCollection<System.Int64>
Ids of the attachments to be deleted.
Returns
System.Threading.Tasks.Task<FeatureEditResult[]>
SubtypeSublayer.GetAttributeTableTemplate() Method
Asynchronously retrieve the current value of the AttributeTableTemplate property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.AttributeTableTemplate?> GetAttributeTableTemplate();
Returns
System.Threading.Tasks.Task<AttributeTableTemplate>
SubtypeSublayer.GetCapabilities() Method
Asynchronously retrieve the current value of the Capabilities property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Capabilities?> GetCapabilities();
Returns
System.Threading.Tasks.Task<Capabilities>
SubtypeSublayer.GetEditingEnabled() Method
Asynchronously retrieve the current value of the EditingEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetEditingEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SubtypeSublayer.GetEffectiveCapabilities() Method
Asynchronously retrieve the current value of the EffectiveCapabilities property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Capabilities?> GetEffectiveCapabilities();
Returns
System.Threading.Tasks.Task<Capabilities>
SubtypeSublayer.GetEffectiveEditingEnabled() Method
Asynchronously retrieve the current value of the EffectiveEditingEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetEffectiveEditingEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SubtypeSublayer.GetField(string) Method
Returns the Field instance for a field name (case-insensitive). ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Field?> GetField(string fieldName);
Parameters
fieldName
System.String
Name of the field.
Returns
System.Threading.Tasks.Task<Field>
SubtypeSublayer.GetFieldDomain(string) Method
Returns the Domain associated with the given field name. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Domain?> GetFieldDomain(string fieldName);
Parameters
fieldName
System.String
Name of the field.
Returns
System.Threading.Tasks.Task<Domain>
SubtypeSublayer.GetFields() Method
Asynchronously retrieve the current value of the Fields property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Field>?> GetFields();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Field>>
SubtypeSublayer.GetFieldsIndex() Method
Asynchronously retrieve the current value of the FieldsIndex property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FieldsIndex?> GetFieldsIndex();
Returns
System.Threading.Tasks.Task<FieldsIndex>
SubtypeSublayer.GetFormTemplate() Method
Asynchronously retrieve the current value of the FormTemplate property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Interfaces.IFormTemplate?> GetFormTemplate();
Returns
System.Threading.Tasks.Task<IFormTemplate>
SubtypeSublayer.GetGeometryType() Method
Asynchronously retrieve the current value of the GeometryType property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.FeatureGeometryType>> GetGeometryType();
Returns
System.Threading.Tasks.Task<System.Nullable<FeatureGeometryType>>
SubtypeSublayer.GetGlobalIdField() Method
Asynchronously retrieve the current value of the GlobalIdField property.
public System.Threading.Tasks.Task<string?> GetGlobalIdField();
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.GetLabelingInfo() Method
Asynchronously retrieve the current value of the LabelingInfo property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>?> GetLabelingInfo();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Label>>
SubtypeSublayer.GetLabelsVisible() Method
Asynchronously retrieve the current value of the LabelsVisible property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetLabelsVisible();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SubtypeSublayer.GetLegendEnabled() Method
Asynchronously retrieve the current value of the LegendEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetLegendEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SubtypeSublayer.GetListMode() Method
Asynchronously retrieve the current value of the ListMode property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.ListMode>> GetListMode();
Returns
System.Threading.Tasks.Task<System.Nullable<ListMode>>
SubtypeSublayer.GetMaxScale() Method
Asynchronously retrieve the current value of the MaxScale property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetMaxScale();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SubtypeSublayer.GetMinScale() Method
Asynchronously retrieve the current value of the MinScale property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetMinScale();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SubtypeSublayer.GetObjectIdField() Method
Asynchronously retrieve the current value of the ObjectIdField property.
public System.Threading.Tasks.Task<string?> GetObjectIdField();
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.GetOpacity() Method
Asynchronously retrieve the current value of the Opacity property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetOpacity();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SubtypeSublayer.GetPopupEnabled() Method
Asynchronously retrieve the current value of the PopupEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetPopupEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SubtypeSublayer.GetPopupTemplate() Method
Asynchronously retrieve the current value of the PopupTemplate property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate?> GetPopupTemplate();
Returns
System.Threading.Tasks.Task<PopupTemplate>
SubtypeSublayer.GetRelationships() Method
Asynchronously retrieve the current value of the Relationships property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.Relationship>?> GetRelationships();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Relationship>>
SubtypeSublayer.GetRenderer() Method
Asynchronously retrieve the current value of the Renderer property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Renderers.Renderer?> GetRenderer();
Returns
System.Threading.Tasks.Task<Renderer>
SubtypeSublayer.GetSpatialReference() Method
Asynchronously retrieve the current value of the SpatialReference property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.SpatialReference?> GetSpatialReference();
Returns
System.Threading.Tasks.Task<SpatialReference>
SubtypeSublayer.GetSubtypeCode() Method
Asynchronously retrieve the current value of the SubtypeCode property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetSubtypeCode();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
SubtypeSublayer.GetSubtypeField() Method
Asynchronously retrieve the current value of the SubtypeField property.
public System.Threading.Tasks.Task<string?> GetSubtypeField();
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.GetSubtypeSublayerId() Method
Asynchronously retrieve the current value of the SubtypeSublayerId property.
public System.Threading.Tasks.Task<string?> GetSubtypeSublayerId();
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.GetTemplates() Method
Asynchronously retrieve the current value of the Templates property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.FeatureTemplate>?> GetTemplates();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<FeatureTemplate>>
SubtypeSublayer.GetTitle() Method
Asynchronously retrieve the current value of the Title property.
public System.Threading.Tasks.Task<string?> GetTitle();
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.GetUrl() Method
Asynchronously retrieve the current value of the Url property.
public System.Threading.Tasks.Task<string?> GetUrl();
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.IsFulfilled() Method
`isFulfilled()` may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected). ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<System.Nullable<bool>> IsFulfilled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SubtypeSublayer.IsRejected() Method
`isRejected()` may be used to verify if creating an instance of the class is rejected. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<System.Nullable<bool>> IsRejected();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SubtypeSublayer.IsResolved() Method
`isResolved()` may be used to verify if creating an instance of the class is resolved. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<System.Nullable<bool>> IsResolved();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
SubtypeSublayer.Load(CancellationToken) Method
Loads the resources referenced by this class. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<string?> Load(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.QueryAttachments(AttachmentQuery, CancellationToken) Method
Query information about attachments associated with features. param options An object with the following properties. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.AttachmentsQueryResult?> QueryAttachments(dymaptic.GeoBlazor.Core.Model.AttachmentQuery attachmentQuery, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
attachmentQuery
AttachmentQuery
Specifies the attachment parameters for query.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<AttachmentsQueryResult>
SubtypeSublayer.QueryFeatureCount(Query, CancellationToken) Method
Executes a Query against the service and returns the number of features that satisfy the query. param options An object with the following properties. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<System.Nullable<int>> QueryFeatureCount(dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
query
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>>
SubtypeSublayer.QueryFeatures(Query, CancellationToken) Method
Executes a Query against the feature service and returns a FeatureSet once the promise resolves. param options An object with the following properties. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureSet?> QueryFeatures(dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
query
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<FeatureSet>
SubtypeSublayer.QueryObjectIds(Query, CancellationToken) Method
Executes a Query against the service 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 System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.ObjectId[]?> QueryObjectIds(dymaptic.GeoBlazor.Core.Model.Query query, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
query
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<ObjectId[]>
SubtypeSublayer.QueryRelatedFeatures(RelationshipQuery, CancellationToken) Method
Executes a RelationshipQuery against the feature service and returns FeatureSets grouped by source layer or table objectIds. param options An object with the following properties. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<string?> QueryRelatedFeatures(dymaptic.GeoBlazor.Core.Model.RelationshipQuery relationshipQuery, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
relationshipQuery
RelationshipQuery
Specifies relationship parameters for querying related features or records from a layer or a table.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.QueryRelatedFeaturesCount(RelationshipQuery, CancellationToken) Method
Executes a RelationshipQuery against the feature service and when resolved, it returns an `object` containing key value pairs. param options An object with the following properties. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<string?> QueryRelatedFeaturesCount(dymaptic.GeoBlazor.Core.Model.RelationshipQuery relationshipQuery, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));
Parameters
relationshipQuery
RelationshipQuery
Specifies relationship parameters for querying related features or records from a layer or a table.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.String>
SubtypeSublayer.RemoveFromLabelingInfo(Label[]) Method
Asynchronously remove an element from the LabelingInfo property.
public System.Threading.Tasks.Task RemoveFromLabelingInfo(params dymaptic.GeoBlazor.Core.Components.Label[] values);
Parameters
The elements to remove.
Returns
SubtypeSublayer.RemoveFromTemplates(FeatureTemplate[]) Method
Asynchronously remove an element from the Templates property.
public System.Threading.Tasks.Task RemoveFromTemplates(params dymaptic.GeoBlazor.Pro.Components.FeatureTemplate[] values);
Parameters
values
FeatureTemplate[]
The elements to remove.
Returns
SubtypeSublayer.SetAttributeTableTemplate(AttributeTableTemplate) Method
Asynchronously set the value of the AttributeTableTemplate property after render.
public System.Threading.Tasks.Task SetAttributeTableTemplate(dymaptic.GeoBlazor.Pro.Components.AttributeTableTemplate? value);
Parameters
value
AttributeTableTemplate
The value to set.
Returns
SubtypeSublayer.SetEditingEnabled(Nullable) Method
Asynchronously set the value of the EditingEnabled property after render.
public System.Threading.Tasks.Task SetEditingEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SubtypeSublayer.SetFormTemplate(IFormTemplate) Method
Asynchronously set the value of the FormTemplate property after render.
public System.Threading.Tasks.Task SetFormTemplate(dymaptic.GeoBlazor.Core.Interfaces.IFormTemplate? value);
Parameters
value
IFormTemplate
The value to set.
Returns
SubtypeSublayer.SetLabelingInfo(IReadOnlyList
Asynchronously set the value of the LabelingInfo property after render.
public System.Threading.Tasks.Task SetLabelingInfo(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<Label>
The value to set.
Returns
SubtypeSublayer.SetLabelsVisible(Nullable) Method
Asynchronously set the value of the LabelsVisible property after render.
public System.Threading.Tasks.Task SetLabelsVisible(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SubtypeSublayer.SetLegendEnabled(Nullable) Method
Asynchronously set the value of the LegendEnabled property after render.
public System.Threading.Tasks.Task SetLegendEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SubtypeSublayer.SetListMode(Nullable) Method
Asynchronously set the value of the ListMode property after render.
public System.Threading.Tasks.Task SetListMode(System.Nullable<dymaptic.GeoBlazor.Core.Enums.ListMode> value);
Parameters
value
System.Nullable<ListMode>
The value to set.
Returns
SubtypeSublayer.SetMaxScale(Nullable) Method
Asynchronously set the value of the MaxScale property after render.
public System.Threading.Tasks.Task SetMaxScale(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SubtypeSublayer.SetMinScale(Nullable) Method
Asynchronously set the value of the MinScale property after render.
public System.Threading.Tasks.Task SetMinScale(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SubtypeSublayer.SetOpacity(Nullable) Method
Asynchronously set the value of the Opacity property after render.
public System.Threading.Tasks.Task SetOpacity(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SubtypeSublayer.SetPopupEnabled(Nullable) Method
Asynchronously set the value of the PopupEnabled property after render.
public System.Threading.Tasks.Task SetPopupEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
SubtypeSublayer.SetPopupTemplate(PopupTemplate) Method
Asynchronously set the value of the PopupTemplate property after render.
public System.Threading.Tasks.Task SetPopupTemplate(dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate? value);
Parameters
value
PopupTemplate
The value to set.
Returns
SubtypeSublayer.SetRenderer(Renderer) Method
Asynchronously set the value of the Renderer property after render.
public System.Threading.Tasks.Task SetRenderer(dymaptic.GeoBlazor.Core.Components.Renderers.Renderer? value);
Parameters
value
Renderer
The value to set.
Returns
SubtypeSublayer.SetSubtypeCode(Nullable) Method
Asynchronously set the value of the SubtypeCode property after render.
public System.Threading.Tasks.Task SetSubtypeCode(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
SubtypeSublayer.SetSubtypeSublayerId(string) Method
Asynchronously set the value of the SubtypeSublayerId property after render.
public System.Threading.Tasks.Task SetSubtypeSublayerId(string? value);
Parameters
value
System.String
The value to set.
Returns
SubtypeSublayer.SetTemplates(IReadOnlyList) Method
Asynchronously set the value of the Templates property after render.
public System.Threading.Tasks.Task SetTemplates(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Pro.Components.FeatureTemplate>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<FeatureTemplate>
The value to set.
Returns
SubtypeSublayer.SetTitle(string) Method
Asynchronously set the value of the Title property after render.
public System.Threading.Tasks.Task SetTitle(string? value);
Parameters
value
System.String
The value to set.
Returns
SubtypeSublayer.UpdateAttachment(Graphic, long, ElementReference) Method
Updates an existing attachment for a feature. param attachmentId Id of the attachment to be updated. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.FeatureEditResult?> UpdateAttachment(dymaptic.GeoBlazor.Core.Components.Graphic feature, long attachmentId, Microsoft.AspNetCore.Components.ElementReference attachment);
Parameters
feature
Graphic
The feature containing the attachment to be updated.
attachmentId
System.Int64
Id of the attachment to be updated.
attachment
Microsoft.AspNetCore.Components.ElementReference
HTML form that contains a file upload field pointing to the file to be added as an attachment.
Returns
System.Threading.Tasks.Task<FeatureEditResult>
SubtypeSublayer.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()
SubtypeSublayer.When(Func, Func) Method
`when()` may be leveraged once an instance of the class is created. param errback The function to execute when the promise fails. ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<string?> When(System.Func<System.Threading.Tasks.Task> callback, System.Func<System.Threading.Tasks.Task> errback);
Parameters
callback
System.Func<System.Threading.Tasks.Task>
The function to call when the promise resolves.
errback
System.Func<System.Threading.Tasks.Task>
The function to execute when the promise fails.