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.IIntersectItem

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 SubtypeSublayer

Implements 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.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 dymaptic.GeoBlazor.Core.Interfaces.IFormTemplate

The template used in an associated layer’s FeatureForm.
ArcGIS Maps SDK for JavaScript

labelingInfo System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Enums.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 dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate

The popup template for the layer.
ArcGIS Maps SDK for JavaScript

renderer dymaptic.GeoBlazor.Core.Components.Renderers.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

AttributeTableTemplate

SubtypeSublayer.Capabilities Property

Describes the layer’s supported capabilities.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Capabilities? Capabilities { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Capabilities

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; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Capabilities

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; set; }

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; set; }

Property Value

System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.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; set; }

Property Value

dymaptic.GeoBlazor.Core.Model.FieldsIndex

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

dymaptic.GeoBlazor.Core.Interfaces.IFormTemplate

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; set; }

Property Value

System.Nullable<dymaptic.GeoBlazor.Core.Enums.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; set; }

Property Value

System.String

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<dymaptic.GeoBlazor.Core.Components.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

System.Nullable<dymaptic.GeoBlazor.Core.Enums.ListMode>

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; set; }

Property Value

System.String

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

dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate

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; set; }

Property Value

System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.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

dymaptic.GeoBlazor.Core.Components.Renderers.Renderer

SubtypeSublayer.SpatialReference Property

The spatial reference of the layer.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.SpatialReference? SpatialReference { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.SpatialReference

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; set; }

Property Value

System.String

SubtypeSublayer.SubtypeSublayerId Property

The unique ID assigned to the layer.
ArcGIS Maps SDK for JavaScript

public string? SubtypeSublayerId { get; set; }

Property Value

System.String

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

System.String

SubtypeSublayer.Url Property

The absolute URL of the REST endpoint of the feature service.
ArcGIS Maps SDK for JavaScript

public string? Url { get; set; }

Property Value

System.String

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 dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Results.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

values dymaptic.GeoBlazor.Core.Components.Label[]

The elements to add.

Returns

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

SubtypeSublayer.ApplyEdits(SubtypeSublayerEdits, SubtypeSublayerApplyEditsOptions) Method

Applies edits to features in a layer.
param edits.addFeatures An array or a collection of features to be added. Values of non nullable fields must be provided when adding new features. Date fields must have numeric values representing universal time.
param edits.deleteFeatures An array or a collection of features, or an array of objects with objectId or globalId of each feature to be deleted. When an array or collection of features is passed, each feature must have a valid objectId. When an array of objects is used, each object must have a valid value set for objectId or globalId property.
param edits.updateAttachments An array of attachments to be updated. Applies only when the options.globalIdUsed parameter is set to true. User must provide globalIds for all attachments to be updated.
param options Additional edit options to specify when editing features or attachments.
param options.returnEditMoment Indicates whether the edit results should return the time edits were applied. If true, the feature service will return the time edits were applied in the edit result’s editMoment property. Only applicable with ArcGIS Server services only. This option was added at the version 4.20.
param options.rollbackOnFailureEnabled Indicates whether the edits should be applied only if all submitted edits succeed. If false, the server will apply the edits that succeed even if some of the submitted edits fail. If true, the server will apply the edits only if all edits succeed. The layer’s capabilities.editing.supportsRollbackOnFailure property must be true if using this parameter. If supportsRollbackOnFailure is false for a layer, then rollbackOnFailureEnabled will always be true, regardless of how the parameter is set.
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 dymaptic.GeoBlazor.Core.Model.SubtypeSublayerEdits

Object containing features and attachments to be added, updated or deleted.

  • edits.updateFeatures: An array or a collection of features to be updated. Each feature must have valid objectId. Values of non nullable fields must be provided when updating features. Date fields must have numeric values representing universal time.
  • edits.addAttachments: An array of attachments to be added. Applies only when the options.globalIdUsed parameter is set to true. User must provide globalIds for all attachments to be added.
  • edits.deleteAttachments: An array of globalIds for attachments to be deleted. Applies only when the options.globalIdUsed parameter is set to true.

options dymaptic.GeoBlazor.Core.Options.SubtypeSublayerApplyEditsOptions

  • options.gdbVersion: The geodatabase version to apply the edits. This parameter applies only if the capabilities.data.isVersioned property of the layer is true. If the gdbVersion parameter is not specified, edits are made to the published map’s version.
  • options.returnServiceEditsOption: If set to original-and-current-features, the EditedFeatureResult parameter will be included in the applyEdits response. It contains all edited features participating in composite relationships in a database as result of editing a feature. Note that even for deletions, the geometry and attributes of the deleted feature are returned. The original-and-current-features option is only valid when rollbackOnFailureEnabled is true. The default value is none, which will not include the EditedFeatureResult parameter in the response. This is only applicable with ArcGIS Server services only. This option was added at the version 4.20.
  • options.globalIdUsed: Indicates whether the edits can be applied using globalIds of features or attachments. This parameter applies only if the layer’s capabilities.editing.supportsGlobalId property is true. When false, globalIds submitted with the features are ignored and the service assigns new globalIds to the new features. When true, the globalIds must be submitted with the new features. When updating existing features, if the globalIdUsed is false, the objectIds of the features to be updated must be provided. If the globalIdUsed is true, globalIds of features to be updated must be provided. When deleting existing features, set this property to false as deletes operation only accepts objectIds at the current version of the API. When adding, updating or deleting attachments, globalIdUsed parameter must be set to true and the attachment globalId must be set. For new attachments, the user must provide globalIds. In order for an attachment to be updated or deleted, clients must include its globalId. Attachments are not supported in an edit payload when globalIdUsed is false.
    // add an image attachments to features  
    function addAttachment(selectedFeature) {  
    const blob = new Blob(byteArrays, { type: "image/png" });  
    addAttachments.push({  
      feature: selectedFeature,  
      attachment: {  
        globalId: "8c4d6085-a33c-42a0-8e11-21e9528bca0d",  
        name: "brokenLight",  
        data: blob  
      }  
    });  
    const edits = {  
      addAttachments: addAttachments  
    };  
    const options = {  
      // globalIdUsed has to be true when adding, updating or deleting attachments  
      globalIdUsed: true,  
      rollbackOnFailureEnabled: true  
    };  
    subtypeSublayer.applyEdits(edits, options).then(function(results) {  
      console.log("edits added: ", results);  
    });  
    }  
    

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.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

System.Threading.Tasks.Task

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 dymaptic.GeoBlazor.Core.Options.CreatePopupTemplateOptions

Options for creating the popup template.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Popups.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<dymaptic.GeoBlazor.Core.Model.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 dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Results.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<dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Model.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<dymaptic.GeoBlazor.Core.Interfaces.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<dymaptic.GeoBlazor.Core.Enums.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<dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Enums.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<dymaptic.GeoBlazor.Core.Components.Popups.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<dymaptic.GeoBlazor.Core.Model.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<dymaptic.GeoBlazor.Core.Components.Renderers.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<dymaptic.GeoBlazor.Core.Components.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.
param options.signal Signal object that can be used to abort the asynchronous task. The returned promise will be rejected with an Error named AbortError when an abort is signaled. See also AbortController for more information on how to construct a controller that can be used to deliver abort signals.
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 dymaptic.GeoBlazor.Core.Model.AttachmentQuery

Specifies the attachment parameters for query.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.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 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>>

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

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

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 dymaptic.GeoBlazor.Core.Model.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 dymaptic.GeoBlazor.Core.Model.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

values dymaptic.GeoBlazor.Core.Components.Label[]

The elements to remove.

Returns

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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 dymaptic.GeoBlazor.Core.Interfaces.IFormTemplate

The value to set.

Returns

System.Threading.Tasks.Task

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<dymaptic.GeoBlazor.Core.Components.Label>

The value to set.

Returns

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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<dymaptic.GeoBlazor.Core.Enums.ListMode>

The value to set.

Returns

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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 dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate

The value to set.

Returns

System.Threading.Tasks.Task

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 dymaptic.GeoBlazor.Core.Components.Renderers.Renderer

The value to set.

Returns

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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

System.Threading.Tasks.Task

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 dymaptic.GeoBlazor.Core.Components.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<dymaptic.GeoBlazor.Core.Results.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.

Returns

System.Threading.Tasks.Task<System.String>