dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
SizeRampElement Class
Describes the schema of the SizeRampElement used as a legendElement.
ArcGIS Maps SDK for JavaScript
public class SizeRampElement : dymaptic.GeoBlazor.Core.Components.MapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ILegendElement,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ISymbolTableElementType
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 SizeRampElement
Implements ILegendElement, IMapComponent, ISymbolTableElementType
Constructors
SizeRampElement() Constructor
Parameterless constructor for use as a Razor Component.
public SizeRampElement();
SizeRampElement(ClusterTitle, IReadOnlyList, RampTitle, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public SizeRampElement(dymaptic.GeoBlazor.Core.Components.ClusterTitle? clusterTitle=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.SizeRampStop>? infos=null, dymaptic.GeoBlazor.Core.Model.RampTitle? rampTitle=null, string? stringTitle=null);
Parameters
clusterTitle
ClusterTitle
The title of the size ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript
infos
System.Collections.Generic.IReadOnlyList<SizeRampStop>
The individual size stops rendered in the legend that correspond to the size visual variable in the renderer.
ArcGIS Maps SDK for JavaScript
rampTitle
RampTitle
The title of the size ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript
stringTitle
System.String
The title of the size ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript
Properties
SizeRampElement.ClusterTitle Property
The title of the size ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.ClusterTitle? ClusterTitle { get; set; }
Property Value
SizeRampElement.Infos Property
The individual size stops rendered in the legend that correspond to the size visual variable in the renderer.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.SizeRampStop>? Infos { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<SizeRampStop>
SizeRampElement.RampTitle Property
The title of the size ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.RampTitle? RampTitle { get; set; }
Property Value
SizeRampElement.StringTitle Property
The title of the size ramp as displayed in the legend.
ArcGIS Maps SDK for JavaScript
public string? StringTitle { get; set; }
Property Value
Methods
SizeRampElement.AddToInfos(SizeRampStop[]) Method
Asynchronously adds elements to the Infos property.
public System.Threading.Tasks.Task AddToInfos(params dymaptic.GeoBlazor.Core.Components.SizeRampStop[] values);
Parameters
values
SizeRampStop[]
The elements to add.
Returns
SizeRampElement.GetClusterTitle() Method
Asynchronously retrieve the current value of the ClusterTitle property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.ClusterTitle?> GetClusterTitle();
Returns
System.Threading.Tasks.Task<ClusterTitle>
SizeRampElement.GetInfos() Method
Asynchronously retrieve the current value of the Infos property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.SizeRampStop>?> GetInfos();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<SizeRampStop>>
SizeRampElement.GetRampTitle() Method
Asynchronously retrieve the current value of the RampTitle property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.RampTitle?> GetRampTitle();
Returns
System.Threading.Tasks.Task<RampTitle>
SizeRampElement.GetStringTitle() Method
Asynchronously retrieve the current value of the StringTitle property.
public System.Threading.Tasks.Task<string?> GetStringTitle();
Returns
System.Threading.Tasks.Task<System.String>
SizeRampElement.RemoveFromInfos(SizeRampStop[]) Method
Asynchronously remove an element from the Infos property.
public System.Threading.Tasks.Task RemoveFromInfos(params dymaptic.GeoBlazor.Core.Components.SizeRampStop[] values);
Parameters
values
SizeRampStop[]
The elements to remove.
Returns
SizeRampElement.SetClusterTitle(ClusterTitle) Method
Asynchronously set the value of the ClusterTitle property after render.
public System.Threading.Tasks.Task SetClusterTitle(dymaptic.GeoBlazor.Core.Components.ClusterTitle? value);
Parameters
value
ClusterTitle
The value to set.
Returns
SizeRampElement.SetInfos(IReadOnlyList) Method
Asynchronously set the value of the Infos property after render.
public System.Threading.Tasks.Task SetInfos(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.SizeRampStop>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<SizeRampStop>
The value to set.
Returns
SizeRampElement.SetRampTitle(RampTitle) Method
Asynchronously set the value of the RampTitle property after render.
public System.Threading.Tasks.Task SetRampTitle(dymaptic.GeoBlazor.Core.Model.RampTitle? value);
Parameters
value
RampTitle
The value to set.
Returns
SizeRampElement.SetStringTitle(string) Method
Asynchronously set the value of the StringTitle property after render.
public System.Threading.Tasks.Task SetStringTitle(string? value);
Parameters
value
System.String
The value to set.
Returns
SizeRampElement.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()