GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components.Layers
GroupLayer Class
GroupLayer provides the ability to organize several sublayers into one common layer.
ArcGIS Maps SDK for JavaScript
public class GroupLayer : dymaptic.GeoBlazor.Pro.Components.Layers.ProLayer,
dymaptic.GeoBlazor.Core.Interfaces.IGroupLayer,
dymaptic.GeoBlazor.Core.Interfaces.IBlendLayer,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ILayerParent,
dymaptic.GeoBlazor.Core.Interfaces.ILayersMixin,
dymaptic.GeoBlazor.Core.Interfaces.IOperationalLayer,
dymaptic.GeoBlazor.Core.Interfaces.IPortalLayer,
dymaptic.GeoBlazor.Core.Interfaces.ITablesMixin
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 dymaptic.GeoBlazor.Core.Components.Layers.Layer 🡒 ProLayer 🡒 GroupLayer
Implements dymaptic.GeoBlazor.Core.Interfaces.IGroupLayer, dymaptic.GeoBlazor.Core.Interfaces.IBlendLayer, dymaptic.GeoBlazor.Core.Interfaces.IMapComponent, dymaptic.GeoBlazor.Core.Interfaces.ILayerParent, dymaptic.GeoBlazor.Core.Interfaces.ILayersMixin, dymaptic.GeoBlazor.Core.Interfaces.IOperationalLayer, dymaptic.GeoBlazor.Core.Interfaces.IPortalLayer, dymaptic.GeoBlazor.Core.Interfaces.ITablesMixin
Constructors
GroupLayer() Constructor
Parameterless constructor for use as a Razor Component.
public GroupLayer();
GroupLayer(string, Nullable, Effect, Extent, Nullable, IReadOnlyList, Nullable, Nullable, Nullable, Nullable, Nullable, PortalItem, IReadOnlyList, string, Nullable, TimeExtent, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public GroupLayer(string? arcGISLayerId=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode> blendMode=null, dymaptic.GeoBlazor.Core.Model.Effect? effect=null, dymaptic.GeoBlazor.Core.Components.Geometries.Extent? fullExtent=null, System.Nullable<bool> isBasemapReferenceLayer=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? layers=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> persistenceEnabled=null, dymaptic.GeoBlazor.Core.Components.PortalItem? portalItem=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? tables=null, string? title=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.VisibilityMode> visibilityMode=null, dymaptic.GeoBlazor.Core.Components.TimeExtent? visibilityTimeExtent=null, System.Nullable<bool> visible=null);
Parameters
arcGISLayerId
System.String
The unique ID assigned to the layer.
ArcGIS Maps SDK for JavaScript
blendMode
System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode>
Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.
default normal
ArcGIS Maps SDK for JavaScript
effect
dymaptic.GeoBlazor.Core.Model.Effect
Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to
how image filters work.
default null
ArcGIS Maps SDK for JavaScript
fullExtent
dymaptic.GeoBlazor.Core.Components.Geometries.Extent
The full extent of the layer.
ArcGIS Maps SDK for JavaScript
isBasemapReferenceLayer
System.Nullable<System.Boolean>
Indicates whether the layer is a basemap reference layer. Default value: false.
layers
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
A collection of operational layers.
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
persistenceEnabled
System.Nullable<System.Boolean>
Enable persistence of the layer in a WebMap or WebScene.
default true
ArcGIS Maps SDK for JavaScript
portalItem
dymaptic.GeoBlazor.Core.Components.PortalItem
The portal item from which the layer is loaded.
ArcGIS Maps SDK for JavaScript
tables
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
A collection of layer instances that are tables
saved in a Map and/or a WebMap.
ArcGIS Maps SDK for JavaScript
title
System.String
The title of the layer used to identify it in places such as the LayerList widget.
ArcGIS Maps SDK for JavaScript
visibilityMode
System.Nullable<dymaptic.GeoBlazor.Core.Enums.VisibilityMode>
Indicates how to manage the visibility of the children layers.
ArcGIS Maps SDK for JavaScript
visibilityTimeExtent
dymaptic.GeoBlazor.Core.Components.TimeExtent
Specifies a fixed time extent during which a layer should be visible.
default null
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
GroupLayer.AllLayers Property
A flattened collection of all layers in the group layer.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? AllLayers { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
GroupLayer.AllTables Property
A flattened collection of tables anywhere in the group layer’s hierarchy.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? AllTables { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
GroupLayer.BlendMode Property
Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.
default normal
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode> BlendMode { get; set; }
Implements BlendMode
Property Value
System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode>
GroupLayer.Effect Property
Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to
how image filters work.
default null
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.Effect? Effect { get; set; }
Implements Effect
Property Value
dymaptic.GeoBlazor.Core.Model.Effect
GroupLayer.Layers Property
A collection of operational layers.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? Layers { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
GroupLayer.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>
GroupLayer.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>
GroupLayer.PortalItem Property
The portal item from which the layer is loaded.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.PortalItem? PortalItem { get; set; }
Implements PortalItem
Property Value
dymaptic.GeoBlazor.Core.Components.PortalItem
GroupLayer.Tables Property
A collection of layer instances that are tables
saved in a Map and/or a WebMap.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? Tables { get; set; }
Implements Tables
Property Value
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
GroupLayer.Type Property
Used internally to identify the sub type of Layer
public override dymaptic.GeoBlazor.Core.Enums.LayerType Type { get; }
Property Value
dymaptic.GeoBlazor.Core.Enums.LayerType
GroupLayer.VisibilityMode Property
Indicates how to manage the visibility of the children layers.
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.VisibilityMode> VisibilityMode { get; set; }
Property Value
System.Nullable<dymaptic.GeoBlazor.Core.Enums.VisibilityMode>
Methods
GroupLayer.Add(Layer, int) Method
Adds a layer to the layers collection.
param index A layer can be added at a specified index in the layers collection. If no index is specified or the index specified is greater than the current number of layers, the layer is automatically appended to the list of layers in the layers collection and the index is normalized.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task Add(dymaptic.GeoBlazor.Core.Components.Layers.Layer layer, int index);
Parameters
layer
dymaptic.GeoBlazor.Core.Components.Layers.Layer
Layer or a promise that resolves to a layer to add to the layers collection.
index
System.Int32
A layer can be added at a specified index in the layers collection.
If no index is specified or the index specified is greater
than the current number of layers, the layer is automatically
appended to the list of layers in the layers collection and the index is
normalized.
Implements Add(Layer, int)
Returns
GroupLayer.AddMany(IReadOnlyCollection, int) Method
Adds a layer or an array of layers to the layers collection.
param index A layer can be added at a specified index in the layers collection. If no index is specified or the index specified is greater than the current number of layers, the layer is automatically appended to the list of layers in the layers collection and the index is normalized.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task AddMany(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Layer> layers, int index);
Parameters
layers
System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
Layer(s) to be added to the layers collection.
index
System.Int32
A layer can be added at a specified index in the layers collection.
If no index is specified or the index specified is greater
than the current number of layers, the layer is automatically
appended to the list of layers in the layers collection and the index is
normalized.
Implements AddMany(IReadOnlyCollection<Layer>, int)
Returns
GroupLayer.AddToLayers(Layer[]) Method
Asynchronously adds elements to the Layers property.
public System.Threading.Tasks.Task AddToLayers(params dymaptic.GeoBlazor.Core.Components.Layers.Layer[] values);
Parameters
values
dymaptic.GeoBlazor.Core.Components.Layers.Layer[]
The elements to add.
Implements AddToLayers(Layer[])
Returns
GroupLayer.AddToTables(Layer[]) Method
Asynchronously adds elements to the Tables property.
public System.Threading.Tasks.Task AddToTables(params dymaptic.GeoBlazor.Core.Components.Layers.Layer[] values);
Parameters
values
dymaptic.GeoBlazor.Core.Components.Layers.Layer[]
The elements to add.
Implements AddToTables(Layer[])
Returns
GroupLayer.FindLayerById(string) Method
Returns a layer based on the given layer ID.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> FindLayerById(string layerId);
Parameters
layerId
System.String
The ID assigned to the layer.
Implements FindLayerById(string)
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
GroupLayer.FindTableById(string) Method
Returns a table based on the given table ID.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> FindTableById(string tableId);
Parameters
tableId
System.String
The ID assigned to the table.
Implements FindTableById(string)
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
GroupLayer.GetAllLayers() Method
Asynchronously retrieve the current value of the AllLayers property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>?> GetAllLayers();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>>
GroupLayer.GetAllTables() Method
Asynchronously retrieve the current value of the AllTables property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>?> GetAllTables();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>>
GroupLayer.GetBlendMode() Method
Asynchronously retrieve the current value of the BlendMode property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode>> GetBlendMode();
Implements GetBlendMode()
Returns
System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode>>
GroupLayer.GetEffect() Method
Asynchronously retrieve the current value of the Effect property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Effect?> GetEffect();
Implements GetEffect()
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Effect>
GroupLayer.GetLayers() Method
Asynchronously retrieve the current value of the Layers property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>?> GetLayers();
Implements GetLayers()
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>>
GroupLayer.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>>
GroupLayer.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>>
GroupLayer.GetPortalItem() Method
Asynchronously retrieve the current value of the PortalItem property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem?> GetPortalItem();
Implements GetPortalItem()
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem>
GroupLayer.GetTables() Method
Asynchronously retrieve the current value of the Tables property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>?> GetTables();
Implements GetTables()
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>>
GroupLayer.GetVisibilityMode() Method
Asynchronously retrieve the current value of the VisibilityMode property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.VisibilityMode>> GetVisibilityMode();
Returns
System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.VisibilityMode>>
GroupLayer.LoadAll() Method
Loads all the externally loadable resources associated with the group layer.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Pro.Components.Layers.GroupLayer?> LoadAll();
Returns
System.Threading.Tasks.Task<GroupLayer>
GroupLayer.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
dymaptic.GeoBlazor.Core.Components.MapComponent
The calling, child component to register
Returns
Exceptions
dymaptic.GeoBlazor.Core.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.
GroupLayer.Remove(Layer) Method
Removes the specified layer from the layers collection.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> Remove(dymaptic.GeoBlazor.Core.Components.Layers.Layer layer);
Parameters
layer
dymaptic.GeoBlazor.Core.Components.Layers.Layer
Layer to remove from the layers collection.
Implements Remove(Layer)
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
GroupLayer.RemoveAll() Method
Removes all layers.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer[]?> RemoveAll();
Implements RemoveAll()
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer[]>
GroupLayer.RemoveFromLayers(Layer[]) Method
Asynchronously remove an element from the Layers property.
public System.Threading.Tasks.Task RemoveFromLayers(params dymaptic.GeoBlazor.Core.Components.Layers.Layer[] values);
Parameters
values
dymaptic.GeoBlazor.Core.Components.Layers.Layer[]
The elements to remove.
Implements RemoveFromLayers(Layer[])
Returns
GroupLayer.RemoveFromTables(Layer[]) Method
Asynchronously remove an element from the Tables property.
public System.Threading.Tasks.Task RemoveFromTables(params dymaptic.GeoBlazor.Core.Components.Layers.Layer[] values);
Parameters
values
dymaptic.GeoBlazor.Core.Components.Layers.Layer[]
The elements to remove.
Implements RemoveFromTables(Layer[])
Returns
GroupLayer.RemoveMany(IReadOnlyCollection) Method
Removes the specified layers.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer[]?> RemoveMany(System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Layer> layers);
Parameters
layers
System.Collections.Generic.IReadOnlyCollection<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
Array of layers to remove from the layers collection.
Implements RemoveMany(IReadOnlyCollection<Layer>)
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer[]>
GroupLayer.Reorder(Layer, int) Method
Changes the layer order.
param index The index location for placing the layer. The bottom-most layer has an index of 0
.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Layers.Layer?> Reorder(dymaptic.GeoBlazor.Core.Components.Layers.Layer layer, int index);
Parameters
layer
dymaptic.GeoBlazor.Core.Components.Layers.Layer
The layer to be moved.
index
System.Int32
The index location for placing the layer. The bottom-most
layer has an index of
0
```.
Implements [Reorder(Layer, int)](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Interfaces.ILayersMixin.Reorder#dymaptic_GeoBlazor_Core_Interfaces_ILayersMixin_Reorder_dymaptic_GeoBlazor_Core_Components_Layers_Layer,System_Int32_ 'dymaptic.GeoBlazor.Core.Interfaces.ILayersMixin.Reorder(dymaptic.GeoBlazor.Core.Components.Layers.Layer,System.Int32)')
#### Returns
[System.Threading.Tasks.Task<](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')[dymaptic.GeoBlazor.Core.Components.Layers.Layer](https://docs.microsoft.com/en-us/dotnet/api/dymaptic.GeoBlazor.Core.Components.Layers.Layer 'dymaptic.GeoBlazor.Core.Components.Layers.Layer')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')
<a name='dymaptic.GeoBlazor.Pro.Components.Layers.GroupLayer.Save(dymaptic.GeoBlazor.Pro.Options.GroupLayerSaveOptions)'></a>
## GroupLayer.Save(GroupLayerSaveOptions) Method
Saves the layer to its existing portal item in the <a target="_blank" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html">Portal</a>
authenticated within the user's current session.
param options.ignoreUnsupported Indicates whether to ignore saving unsupported layers or layers with unsupported content, such as unsupported symbology.
<a target="_blank" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GroupLayer.html#save">ArcGIS Maps SDK for JavaScript</a>
```csharp
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem?> Save(dymaptic.GeoBlazor.Pro.Options.GroupLayerSaveOptions options);
Parameters
options
GroupLayerSaveOptions
Various options for saving the layer.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem>
GroupLayer.SaveAs(PortalItem, GroupLayerSaveAsOptions) Method
Saves the layer to a new portal item in the Portal authenticated within the user’s current session.
param options Various options for saving the layer.
param options.ignoreUnsupported Indicates whether to ignore saving unsupported layers or layers with unsupported content, such as unsupported symbology.
ArcGIS Maps SDK for JavaScript
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem?> SaveAs(dymaptic.GeoBlazor.Core.Components.PortalItem portalItem, dymaptic.GeoBlazor.Pro.Options.GroupLayerSaveAsOptions options);
Parameters
portalItem
dymaptic.GeoBlazor.Core.Components.PortalItem
The portal item to which the layer will be saved.
options
GroupLayerSaveAsOptions
- options.folder: The portal folder where the layer’s portal item will be saved.
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.PortalItem>
GroupLayer.SetBlendMode(Nullable) Method
Asynchronously set the value of the BlendMode property after render.
public System.Threading.Tasks.Task SetBlendMode(System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode> value);
Parameters
value
System.Nullable<dymaptic.GeoBlazor.Core.Enums.BlendMode>
The value to set.
Implements SetBlendMode(Nullable<BlendMode>)
Returns
GroupLayer.SetEffect(Effect) Method
Asynchronously set the value of the Effect property after render.
public System.Threading.Tasks.Task SetEffect(dymaptic.GeoBlazor.Core.Model.Effect? value);
Parameters
value
dymaptic.GeoBlazor.Core.Model.Effect
The value to set.
Implements SetEffect(Effect)
Returns
GroupLayer.SetLayers(IReadOnlyList) Method
Asynchronously set the value of the Layers property after render.
public System.Threading.Tasks.Task SetLayers(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
The value to set.
Implements SetLayers(IReadOnlyList<Layer>)
Returns
GroupLayer.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
GroupLayer.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
GroupLayer.SetPersistenceEnabled(Nullable) Method
Asynchronously set the value of the PersistenceEnabled property after render.
public System.Threading.Tasks.Task SetPersistenceEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Implements SetPersistenceEnabled(Nullable<bool>)
Returns
GroupLayer.SetPortalItem(PortalItem) Method
Asynchronously set the value of the PortalItem property after render.
public System.Threading.Tasks.Task SetPortalItem(dymaptic.GeoBlazor.Core.Components.PortalItem? value);
Parameters
value
dymaptic.GeoBlazor.Core.Components.PortalItem
The value to set.
Implements SetPortalItem(PortalItem)
Returns
GroupLayer.SetTables(IReadOnlyList) Method
Asynchronously set the value of the Tables property after render.
public System.Threading.Tasks.Task SetTables(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Layers.Layer>
The value to set.
Implements SetTables(IReadOnlyList<Layer>)
Returns
GroupLayer.SetVisibilityMode(Nullable) Method
Asynchronously set the value of the VisibilityMode property after render.
public System.Threading.Tasks.Task SetVisibilityMode(System.Nullable<dymaptic.GeoBlazor.Core.Enums.VisibilityMode> value);
Parameters
value
System.Nullable<dymaptic.GeoBlazor.Core.Enums.VisibilityMode>
The value to set.
Returns
GroupLayer.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
dymaptic.GeoBlazor.Core.Components.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.
GroupLayer.ValidateRequiredChildren() Method
When a dymaptic.GeoBlazor.Core.Components.Views.MapView is prepared to render, this will check to make sure that all properties with the dymaptic.GeoBlazor.Core.Attributes.RequiredPropertyAttribute are provided.
public override void ValidateRequiredChildren();
Implements ValidateRequiredChildren()
Exceptions
dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredChildElementException
The consumer needs to provide the missing child component
dymaptic.GeoBlazor.Core.Exceptions.MissingRequiredOptionsChildElementException
The consumer needs to provide ONE of the options of child components
GroupLayer.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()