dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
HeatmapRampStop Class
Describes the schema of the HeatmapRampStop element.
ArcGIS Maps SDK for JavaScript
public class HeatmapRampStop : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 HeatmapRampStop
Constructors
HeatmapRampStop() Constructor
Parameterless constructor for use as a Razor Component.
public HeatmapRampStop();
HeatmapRampStop(MapColor, string, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public HeatmapRampStop(dymaptic.GeoBlazor.Core.Model.MapColor? color=null, string? label=null, System.Nullable<double> ratio=null);
Parameters
color
MapColor
The color of the pixel corresponding to the appropriate pixel ratio
.
ArcGIS Maps SDK for JavaScript
label
System.String
The label of the color stop displayed in the legend.
ArcGIS Maps SDK for JavaScript
ratio
System.Nullable<System.Double>
The ratio of a pixel’s intensity value to the minPixelIntensity of the renderer.
ArcGIS Maps SDK for JavaScript
Properties
HeatmapRampStop.Color Property
The color of the pixel corresponding to the appropriate pixel ratio
.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.MapColor? Color { get; set; }
Property Value
HeatmapRampStop.Label Property
The label of the color stop displayed in the legend.
ArcGIS Maps SDK for JavaScript
public string? Label { get; set; }
Property Value
HeatmapRampStop.Ratio Property
The ratio of a pixel’s intensity value to the minPixelIntensity of the renderer.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> Ratio { get; set; }
Property Value
System.Nullable<System.Double>
Methods
HeatmapRampStop.GetColor() Method
Asynchronously retrieve the current value of the Color property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.MapColor?> GetColor();
Returns
System.Threading.Tasks.Task<MapColor>
HeatmapRampStop.GetLabel() Method
Asynchronously retrieve the current value of the Label property.
public System.Threading.Tasks.Task<string?> GetLabel();
Returns
System.Threading.Tasks.Task<System.String>
HeatmapRampStop.GetRatio() Method
Asynchronously retrieve the current value of the Ratio property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetRatio();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
HeatmapRampStop.SetColor(MapColor) Method
Asynchronously set the value of the Color property after render.
public System.Threading.Tasks.Task SetColor(dymaptic.GeoBlazor.Core.Model.MapColor? value);
Parameters
value
MapColor
The value to set.
Returns
HeatmapRampStop.SetLabel(string) Method
Asynchronously set the value of the Label property after render.
public System.Threading.Tasks.Task SetLabel(string? value);
Parameters
value
System.String
The value to set.
Returns
HeatmapRampStop.SetRatio(Nullable) Method
Asynchronously set the value of the Ratio property after render.
public System.Threading.Tasks.Task SetRatio(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.