dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Layers
Sublayer Class
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html”>GeoBlazor Docs</a> Represents a sublayer in a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html”>MapImageLayer</a> or a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html”>TileLayer</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html”>ArcGIS Maps SDK for JavaScript</a>
public class Sublayer : dymaptic.GeoBlazor.Core.Components.MapComponent, dymaptic.GeoBlazor.Core.Interfaces.IPopupTemplateLayer, dymaptic.GeoBlazor.Core.Interfaces.IMapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Sublayer
Implements IPopupTemplateLayer, IMapComponent
Constructors
Sublayer() Constructor
Parameterless constructor for use as a Razor Component.
public Sublayer();
Sublayer(Nullable<long>, Nullable<bool>, Nullable<bool>, Nullable<ListMode>, Nullable<double>, Nullable<double>, Nullable<double>, Nullable<bool>, string, Nullable<bool>, string, LayerFloorInfo, IReadOnlyList<Label>, PopupTemplate, Renderer, DynamicLayer, IReadOnlyList<Sublayer>, IReadOnlyList<OrderByInfo>, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public Sublayer(System.Nullable<long> sublayerId=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, string? title=null, System.Nullable<bool> visible=null, string? definitionExpression=null, dymaptic.GeoBlazor.Core.Components.LayerFloorInfo? floorInfo=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>? labelingInfo=null, dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate? popupTemplate=null, dymaptic.GeoBlazor.Core.Components.Renderers.Renderer? renderer=null, dymaptic.GeoBlazor.Core.Components.DynamicLayer? source=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Sublayer>? sublayers=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.OrderByInfo>? orderBy=null, string? url=null);
Parameters
sublayerId
System.Nullable<System.Int64>
The sublayer’s layer ID. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#id”>ArcGIS Maps SDK for JavaScript</a>
labelsVisible
System.Nullable<System.Boolean>
Indicates if labels for the sublayer will be visible in the view. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#labelsVisible”>ArcGIS Maps SDK for JavaScript</a>
legendEnabled
System.Nullable<System.Boolean>
Indicates whether the layer will be included in the legend. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#legendEnabled”>ArcGIS Maps SDK for JavaScript</a>
listMode
System.Nullable<ListMode>
Indicates how the layer should display in the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html”>LayerList</a> widget. default “show” <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#listMode”>ArcGIS Maps SDK for JavaScript</a>
maxScale
System.Nullable<System.Double>
The maximum scale (most zoomed in) at which the layer is visible in the view. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#maxScale”>ArcGIS Maps SDK for JavaScript</a>
minScale
System.Nullable<System.Double>
The minimum scale (most zoomed out) at which the layer is visible in the view. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#minScale”>ArcGIS Maps SDK for JavaScript</a>
opacity
System.Nullable<System.Double>
The level of opacity to set on the sublayer on a scale from 0.0 - 1.0 where `0` is fully transparent and `1.0` is fully opaque. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#opacity”>ArcGIS Maps SDK for JavaScript</a>
popupEnabled
System.Nullable<System.Boolean>
Indicates whether to display popups when features in the layer are clicked. default true <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#popupEnabled”>ArcGIS Maps SDK for JavaScript</a>
title
System.String
The title of the sublayer used to identify it in places such as the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html”>LayerList</a> and <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html”>Legend</a> widgets. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#title”>ArcGIS Maps SDK for JavaScript</a>
visible
System.Nullable<System.Boolean>
Indicates if the layer is visible in the view. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#visible”>ArcGIS Maps SDK for JavaScript</a>
definitionExpression
System.String
A SQL where clause used to filter features in the image. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#definitionExpression”>ArcGIS Maps SDK for JavaScript</a>
floorInfo
LayerFloorInfo
If a map image layer contains a sublayer which is meant to be floor-aware, then that sublayer must have a floorInfo property, containing a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LayerFloorInfo.html”>LayerFloorInfo</a> object which has a string property to represent the floorField. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#floorInfo”>ArcGIS Maps SDK for JavaScript</a>
labelingInfo
System.Collections.Generic.IReadOnlyList<Label>
The label definition for this layer, specified as an array of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html”>LabelClass</a> objects. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#labelingInfo”>ArcGIS Maps SDK for JavaScript</a>
popupTemplate
PopupTemplate
The popup template for the sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#popupTemplate”>ArcGIS Maps SDK for JavaScript</a>
renderer
Renderer
The renderer to apply to the sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#renderer”>ArcGIS Maps SDK for JavaScript</a>
source
DynamicLayer
An object that allows you to create a dynamic layer with data either from the map service sublayers or data from a registered workspace. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#source”>ArcGIS Maps SDK for JavaScript</a>
sublayers
System.Collections.Generic.IReadOnlyList<Sublayer>
If a sublayer contains sublayers, this property is a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html”>Collection</a> of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html”>Sublayer</a> objects belonging to the given sublayer with sublayers. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#sublayers”>ArcGIS Maps SDK for JavaScript</a>
orderBy
System.Collections.Generic.IReadOnlyList<OrderByInfo>
Determines the order in which features are drawn in the view. default null <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#orderBy”>ArcGIS Maps SDK for JavaScript</a>
url
System.String
The URL to the REST endpoint of the sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#url”>ArcGIS Maps SDK for JavaScript</a>
Properties
Sublayer.Capabilities Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayercapabilities-property”>GeoBlazor Docs</a> Describes the layer’s supported capabilities. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#capabilities”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Model.SublayerCapabilities? Capabilities { get; }
Property Value
Sublayer.DefinitionExpression Property
A SQL where clause used to filter features in the image. Only the features that satisfy the definition expression are displayed in the View. Definition expressions may be set when a Sublayer is constructed prior to it loading in the view or after it has been added to the MapImageLayer. To see if you can use this property, check the supportsSublayerDefinitionExpression property of MapImageLayer.capabilities.
public string? DefinitionExpression { get; set; }
Property Value
Sublayer.Fields Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerfields-property”>GeoBlazor Docs</a> An array of fields in the Sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#fields”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Field>? Fields { get; }
Property Value
System.Collections.Generic.IReadOnlyList<Field>
Sublayer.FieldsIndex Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerfieldsindex-property”>GeoBlazor Docs</a> A convenient property that can be used to make case-insensitive lookups for a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#field”>field</a> by name. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#fieldsIndex”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Model.FieldsIndex? FieldsIndex { get; }
Property Value
Sublayer.FloorInfo Property
If a map image layer contains a sublayer which is meant to be floor-aware, then that sublayer must have a floorInfo property, containing a LayerFloorInfo object which has a string property to represent the floorField.
public dymaptic.GeoBlazor.Core.Components.LayerFloorInfo? FloorInfo { get; set; }
Property Value
Sublayer.FullExtent Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerfullextent-property”>GeoBlazor Docs</a> The full extent of the Sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#fullExtent”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Components.Geometries.Extent? FullExtent { get; }
Property Value
Sublayer.IsTable Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayeristable-property”>GeoBlazor Docs</a> Returns `true` if the sublayer is a non-spatial table in a map service. default false <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#isTable”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<bool> IsTable { get; }
Property Value
System.Nullable<System.Boolean>
Sublayer.LabelingInfo Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerlabelinginfo-property”>GeoBlazor Docs</a> The label definition for this layer, specified as an array of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-LabelClass.html”>LabelClass</a> objects. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#labelingInfo”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>? LabelingInfo { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Label>
Sublayer.LabelsVisible Property
Indicates if labels for the sublayer will be visible in the view. Default Value: true
public System.Nullable<bool> LabelsVisible { get; set; }
Property Value
System.Nullable<System.Boolean>
Sublayer.LegendEnabled Property
Indicates whether the layer will be included in the legend. When false, the layer will be excluded from the legend. Default Value: true
public System.Nullable<bool> LegendEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
Sublayer.ListMode Property
Indicates how the layer should display in the LayerList widget. The possible values are listed below.
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.ListMode> ListMode { get; set; }
Property Value
Sublayer.MaxScale Property
The maximum scale (most zoomed in) at which the layer is visible in the view. If the map is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. The maxScale value should always be smaller than the minScale value, and greater than or equal to the service specification.
public System.Nullable<double> MaxScale { get; set; }
Property Value
System.Nullable<System.Double>
Sublayer.MinScale Property
The minimum scale (most zoomed out) at which the layer is visible in the view. If the map is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a minimum scale. The minScale value should always be larger than the maxScale value, and less than or equal to the service specification.
public System.Nullable<double> MinScale { get; set; }
Property Value
System.Nullable<System.Double>
Sublayer.ObjectIdField Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerobjectidfield-property”>GeoBlazor Docs</a> The name of an `oid` <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#fields”>field</a> containing a unique value or identifier for each feature in the Sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#objectIdField”>ArcGIS Maps SDK for JavaScript</a>
public string? ObjectIdField { get; }
Property Value
Sublayer.Opacity Property
The level of opacity to set on the sublayer on a scale from 0.0 - 1.0 where 0 is fully transparent and 1.0 is fully opaque. If the MapImageLayer.opacity is set, the actual opacity value of the sublayer will be the value of MapImageLayer.opacity multiplied by the sublayer’s opacity.
public System.Nullable<double> Opacity { get; set; }
Property Value
System.Nullable<System.Double>
Sublayer.OrderBy Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerorderby-property”>GeoBlazor Docs</a> Determines the order in which features are drawn in the view. default null <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#orderBy”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.OrderByInfo>? OrderBy { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<OrderByInfo>
Sublayer.PopupEnabled Property
Indicates whether to display popups when features in the layer are clicked. The layer needs to have a popupTemplate to define what information should be displayed in the popup. Alternatively, a default popup template may be automatically used if Popup.defaultPopupTemplateEnabled is set to true. Default Value: true
public System.Nullable<bool> PopupEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
Sublayer.PopupTemplate Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerpopuptemplate-property”>GeoBlazor Docs</a> The popup template for the sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#popupTemplate”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Components.Popups.PopupTemplate? PopupTemplate { get; set; }
Implements PopupTemplate
Property Value
Sublayer.Relationships Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerrelationships-property”>GeoBlazor Docs</a> An array of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Relationship.html”>relationships</a> associated with the sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#relationships”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.Relationship>? Relationships { get; }
Property Value
System.Collections.Generic.IReadOnlyList<Relationship>
Sublayer.Renderer Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerrenderer-property”>GeoBlazor Docs</a> The renderer to apply to the sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#renderer”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Components.Renderers.Renderer? Renderer { get; set; }
Property Value
Sublayer.Source Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayersource-property”>GeoBlazor Docs</a> An object that allows you to create a dynamic layer with data either from the map service sublayers or data from a registered workspace. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#source”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Components.DynamicLayer? Source { get; set; }
Property Value
Sublayer.SourceJSON Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayersourcejson-property”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/rest/services-reference/map-service.htm”>map service’s metadata JSON</a> exposed by the ArcGIS REST API. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#sourceJSON”>ArcGIS Maps SDK for JavaScript</a>
public string? SourceJSON { get; }
Property Value
Sublayer.SpatialReference Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerspatialreference-property”>GeoBlazor Docs</a> The <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html”>spatial reference</a> of the sublayer as defined by the service. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#spatialReference”>ArcGIS Maps SDK for JavaScript</a>
public dymaptic.GeoBlazor.Core.Components.SpatialReference? SpatialReference { get; }
Property Value
Sublayer.SublayerId Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayersublayerid-property”>GeoBlazor Docs</a> The sublayer’s layer ID. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#id”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<long> SublayerId { get; set; }
Property Value
Sublayer.Sublayers Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayersublayers-property”>GeoBlazor Docs</a> If a sublayer contains sublayers, this property is a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html”>Collection</a> of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html”>Sublayer</a> objects belonging to the given sublayer with sublayers. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#sublayers”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Sublayer>? Sublayers { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Sublayer>
Sublayer.Title Property
The title of the sublayer used to identify it in places such as the LayerList and Legend widgets. This value can be defined in the map service or programmatically by the developer. It can also be useful for finding a specific sublayer.
public string? Title { get; set; }
Property Value
Sublayer.TypeIdField Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayertypeidfield-property”>GeoBlazor Docs</a> The name of the field holding the type ID or subtypes for the features. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#typeIdField”>ArcGIS Maps SDK for JavaScript</a>
public string? TypeIdField { get; }
Property Value
Sublayer.Types Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayertypes-property”>GeoBlazor Docs</a> An array of <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureType.html”>types</a> defined in the feature service exposed by ArcGIS REST API. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#types”>ArcGIS Maps SDK for JavaScript</a>
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.FeatureType>? Types { get; }
Property Value
System.Collections.Generic.IReadOnlyList<FeatureType>
Sublayer.Url Property
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerurl-property”>GeoBlazor Docs</a> The URL to the REST endpoint of the sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#url”>ArcGIS Maps SDK for JavaScript</a>
public string? Url { get; set; }
Property Value
Methods
Sublayer.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
Sublayer.AddToOrderBy(OrderByInfo[]) Method
Asynchronously adds elements to the OrderBy property.
public System.Threading.Tasks.Task AddToOrderBy(params dymaptic.GeoBlazor.Core.Components.OrderByInfo[] values);
Parameters
values
OrderByInfo[]
The elements to add.
Returns
Sublayer.CancelLoad() Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayercancelload-method”>GeoBlazor Docs</a> Cancels a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#load”>load()</a> operation if it is already in progress. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#cancelLoad”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task CancelLoad();
Returns
Sublayer.CreateFeatureLayer() Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayercreatefeaturelayer-method”>GeoBlazor Docs</a> A convenient method for creating a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html”>FeatureLayer</a> instance based on the Sublayer’s configuration, including <a target=”_blank” href=”https://enterprise.arcgis.com/en/server/latest/publish-services/linux/about-dynamic-layers.htm”>dynamic sources</a>. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createFeatureLayer”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.FeatureLayer?> CreateFeatureLayer();
Returns
System.Threading.Tasks.Task<FeatureLayer>
Sublayer.CreatePopupTemplate(CreatePopupTemplateOptions) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayercreatepopuptemplate-method”>GeoBlazor Docs</a> Creates a popup template for the sublayer, populated with all the fields of the sublayer. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createPopupTemplate”>ArcGIS Maps SDK for JavaScript</a>
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>
Sublayer.CreateQuery() Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayercreatequery-method”>GeoBlazor Docs</a> Creates a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> object with default values representing the layer’s state, including filters (definition expression) on the layer’s features. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createQuery”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Query?> CreateQuery();
Returns
System.Threading.Tasks.Task<Query>
Sublayer.GetAllSublayers() Method
Returns a flattened list of sublayers
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Sublayer>? GetAllSublayers();
Returns
System.Collections.Generic.IReadOnlyList<Sublayer>
Sublayer.GetCapabilities() Method
Asynchronously retrieve the current value of the Capabilities property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.SublayerCapabilities?> GetCapabilities();
Returns
System.Threading.Tasks.Task<SublayerCapabilities>
Sublayer.GetDefinitionExpression() Method
Asynchronously retrieve the current value of the DefinitionExpression property.
public System.Threading.Tasks.Task<string?> GetDefinitionExpression();
Returns
System.Threading.Tasks.Task<System.String>
Sublayer.GetFeatureType(Graphic) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayergetfeaturetype-method”>GeoBlazor Docs</a> Returns a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureType.html”>FeatureType</a> describing the feature’s type. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#getFeatureType”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.FeatureType?> GetFeatureType(dymaptic.GeoBlazor.Core.Components.Graphic feature);
Parameters
feature
Graphic
A feature from this Sublayer.
Returns
System.Threading.Tasks.Task<FeatureType>
Sublayer.GetFieldDomain(string, SublayerGetFieldDomainOptions) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayergetfielddomain-method”>GeoBlazor Docs</a> Returns the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Domain.html”>Domain</a> associated with the given field name. param options An object specifying additional options. See the object specification table below for the required properties of this object. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#getFieldDomain”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Domain?> GetFieldDomain(string fieldName, dymaptic.GeoBlazor.Core.Options.SublayerGetFieldDomainOptions options);
Parameters
fieldName
System.String
Name of the field.
options
SublayerGetFieldDomainOptions
- options.feature: The feature to which the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Domain.html”>Domain</a> is assigned.
Returns
System.Threading.Tasks.Task<Domain>
Sublayer.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>>
Sublayer.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>
Sublayer.GetFloorInfo() Method
Asynchronously retrieve the current value of the FloorInfo property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.LayerFloorInfo?> GetFloorInfo();
Returns
System.Threading.Tasks.Task<LayerFloorInfo>
Sublayer.GetFullExtent() Method
Asynchronously retrieve the current value of the FullExtent property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Geometries.Extent?> GetFullExtent();
Returns
System.Threading.Tasks.Task<Extent>
Sublayer.GetIsTable() Method
Asynchronously retrieve the current value of the IsTable property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetIsTable();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
Sublayer.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>>
Sublayer.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>>
Sublayer.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>>
Sublayer.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>>
Sublayer.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>>
Sublayer.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>>
Sublayer.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>
Sublayer.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>>
Sublayer.GetOrderBy() Method
Asynchronously retrieve the current value of the OrderBy property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.OrderByInfo>?> GetOrderBy();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<OrderByInfo>>
Sublayer.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>>
Sublayer.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>
Sublayer.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>>
Sublayer.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>
Sublayer.GetSource() Method
Asynchronously retrieve the current value of the Source property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.DynamicLayer?> GetSource();
Returns
System.Threading.Tasks.Task<DynamicLayer>
Sublayer.GetSourceJSON() Method
Asynchronously retrieve the current value of the SourceJSON property.
public System.Threading.Tasks.Task<string?> GetSourceJSON();
Returns
System.Threading.Tasks.Task<System.String>
Sublayer.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>
Sublayer.GetSublayerId() Method
Asynchronously retrieve the current value of the SublayerId property.
public System.Threading.Tasks.Task<System.Nullable<long>> GetSublayerId();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int64>>
Sublayer.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>
Sublayer.GetTypeIdField() Method
Asynchronously retrieve the current value of the TypeIdField property.
public System.Threading.Tasks.Task<string?> GetTypeIdField();
Returns
System.Threading.Tasks.Task<System.String>
Sublayer.GetTypes() Method
Asynchronously retrieve the current value of the Types property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.FeatureType>?> GetTypes();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<FeatureType>>
Sublayer.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>
Sublayer.IsFulfilled() Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerisfulfilled-method”>GeoBlazor Docs</a> `isFulfilled()` may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected). <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#isFulfilled”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<System.Nullable<bool>> IsFulfilled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
Sublayer.IsRejected() Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerisrejected-method”>GeoBlazor Docs</a> `isRejected()` may be used to verify if creating an instance of the class is rejected. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#isRejected”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<System.Nullable<bool>> IsRejected();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
Sublayer.IsResolved() Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerisresolved-method”>GeoBlazor Docs</a> `isResolved()` may be used to verify if creating an instance of the class is resolved. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#isResolved”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<System.Nullable<bool>> IsResolved();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
Sublayer.Load(CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerload-method”>GeoBlazor Docs</a> 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 <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html”>Error</a> named `AbortError` when an abort is signaled. See also <a target=”_blank” href=”https://developer.mozilla.org/en-US/docs/Web/API/AbortController”>AbortController</a> for more information on how to construct a controller that can be used to deliver abort signals. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#load”>ArcGIS Maps SDK for JavaScript</a>
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>
Sublayer.QueryAttachments(AttachmentQuery, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerqueryattachments-method”>GeoBlazor Docs</a> Query information about attachments associated with features. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#queryAttachments”>ArcGIS Maps SDK for JavaScript</a>
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>
Sublayer.QueryFeatureCount(Query, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerqueryfeaturecount-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> against the sublayer and returns the number of features that satisfy the query. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#queryFeatureCount”>ArcGIS Maps SDK for JavaScript</a>
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. If no parameters are specified, the total number of features satisfying the layer’s configuration/filters is returned.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<System.Nullable<System.Int32>>
Sublayer.QueryFeatures(Query, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerqueryfeatures-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-query.html”>query</a> against features in the sublayer. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#queryFeatures”>ArcGIS Maps SDK for JavaScript</a>
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>
Sublayer.QueryObjectIds(Query, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerqueryobjectids-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html”>Query</a> against the sublayer and returns an array of Object IDs for features that satisfy the input query. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#queryObjectIds”>ArcGIS Maps SDK for JavaScript</a>
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. If no parameters are specified, then the Object IDs of all features satisfying the layer’s configuration/filters are returned.
cancellationToken
System.Threading.CancellationToken
The CancellationToken to cancel an asynchronous operation.
Returns
System.Threading.Tasks.Task<ObjectId[]>
Sublayer.QueryRelatedFeatures(RelationshipQuery, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerqueryrelatedfeatures-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RelationshipQuery.html”>RelationshipQuery</a> against the sublayer and returns <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-FeatureSet.html”>FeatureSets</a> grouped by source layer or table objectIds. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#queryRelatedFeatures”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.RelatedFeaturesQueryResult?> 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<RelatedFeaturesQueryResult>
Sublayer.QueryRelatedFeaturesCount(RelationshipQuery, CancellationToken) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerqueryrelatedfeaturescount-method”>GeoBlazor Docs</a> Executes a <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RelationshipQuery.html”>RelationshipQuery</a> against the sublayer and when resolved, it returns an `object` containing key value pairs. param options An object with the following properties. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#queryRelatedFeaturesCount”>ArcGIS Maps SDK for JavaScript</a>
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.RelatedFeaturesCountQueryResult?> 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<RelatedFeaturesCountQueryResult>
Sublayer.Refresh() Method
Provides a way to externally call `StateHasChanged` on the component.
public override System.Threading.Tasks.ValueTask Refresh();
Returns
System.Threading.Tasks.ValueTask
Sublayer.RegisterChildComponent(MapComponent) Method
Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with its parent.
public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Parameters
child
MapComponent
The calling, child component to register
Returns
Exceptions
InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.
Remarks
This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.
Sublayer.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
Sublayer.RemoveFromOrderBy(OrderByInfo[]) Method
Asynchronously remove an element from the OrderBy property.
public System.Threading.Tasks.Task RemoveFromOrderBy(params dymaptic.GeoBlazor.Core.Components.OrderByInfo[] values);
Parameters
values
OrderByInfo[]
The elements to remove.
Returns
Sublayer.SetDefinitionExpression(string) Method
Asynchronously set the value of the DefinitionExpression property after render.
public System.Threading.Tasks.Task SetDefinitionExpression(string? value);
Parameters
value
System.String
The value to set.
Returns
Sublayer.SetFloorInfo(LayerFloorInfo) Method
Asynchronously set the value of the FloorInfo property after render.
public System.Threading.Tasks.Task SetFloorInfo(dymaptic.GeoBlazor.Core.Components.LayerFloorInfo? value);
Parameters
value
LayerFloorInfo
The value to set.
Returns
Sublayer.SetLabelingInfo(IReadOnlyList<Label>) Method
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
Sublayer.SetLabelsVisible(Nullable<bool>) 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
Sublayer.SetLegendEnabled(Nullable<bool>) 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
Sublayer.SetListMode(Nullable<ListMode>) 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
Sublayer.SetMaxScale(Nullable<double>) 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
Sublayer.SetMinScale(Nullable<double>) 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
Sublayer.SetOpacity(Nullable<double>) 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
Sublayer.SetOrderBy(IReadOnlyList<OrderByInfo>) Method
Asynchronously set the value of the OrderBy property after render.
public System.Threading.Tasks.Task SetOrderBy(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.OrderByInfo>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<OrderByInfo>
The value to set.
Returns
Sublayer.SetPopupEnabled(Nullable<bool>) 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
Sublayer.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
Sublayer.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
Sublayer.SetSource(DynamicLayer) Method
Asynchronously set the value of the Source property after render.
public System.Threading.Tasks.Task SetSource(dymaptic.GeoBlazor.Core.Components.DynamicLayer? value);
Parameters
value
DynamicLayer
The value to set.
Returns
Sublayer.SetSublayerId(Nullable<long>) Method
Asynchronously set the value of the SublayerId property after render.
public System.Threading.Tasks.Task SetSublayerId(System.Nullable<long> value);
Parameters
value
System.Nullable<System.Int64>
The value to set.
Returns
Sublayer.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
Sublayer.SetUrl(string) Method
Asynchronously set the value of the Url property after render.
public System.Threading.Tasks.Task SetUrl(string? value);
Parameters
value
System.String
The value to set.
Returns
Sublayer.UnregisterChildComponent(MapComponent) Method
Undoes the “Registration” of a child with its parent.
public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Parameters
child
MapComponent
The child to unregister
Returns
Remarks
This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.
Sublayer.UpdateFromJavaScript(Sublayer) Method
Copies values when returning from ArcGIS JavaScript. For internal use only.
public System.Threading.Tasks.Task UpdateFromJavaScript(dymaptic.GeoBlazor.Core.Components.Layers.Sublayer renderedSublayer);
Parameters
renderedSublayer
Sublayer
Returns
Sublayer.ValidateRequiredChildren() Method
When a MapView is prepared to render, this will check to make sure that all properties with the RequiredPropertyAttribute are provided.
public override void ValidateRequiredChildren();
Implements ValidateRequiredChildren()
Exceptions
MissingRequiredChildElementException
The consumer needs to provide the missing child component
MissingRequiredOptionsChildElementException
The consumer needs to provide ONE of the options of child components
Sublayer.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()
Sublayer.When(Func<Task>, Func<Task>) Method
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core.Components.Layers.Sublayer.html#sublayerwhen-method”>GeoBlazor Docs</a> `when()` may be leveraged once an instance of the class is created. param errback The function to execute when the promise fails. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#when”>ArcGIS Maps SDK for JavaScript</a>
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.