dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
TrackPartInfo Class
TrackPartInfo provides information about how to render and label temporal data in a layer.
ArcGIS Maps SDK for JavaScript
public class TrackPartInfo : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 TrackPartInfo
Constructors
TrackPartInfo() Constructor
Parameterless constructor for use as a Razor Component.
public TrackPartInfo();
TrackPartInfo(IReadOnlyList
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public TrackPartInfo(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>? labelingInfo=null, System.Nullable<bool> labelsVisible=null, dymaptic.GeoBlazor.Core.Components.Renderers.Renderer? renderer=null, System.Nullable<bool> visible=null);
Parameters
labelingInfo
System.Collections.Generic.IReadOnlyList<Label>
Defines labels for the track part as an array of
LabelClass.
ArcGIS Maps SDK for JavaScript
labelsVisible
System.Nullable<System.Boolean>
Indicates whether to display labels for the track.
default true
ArcGIS Maps SDK for JavaScript
renderer
Renderer
The renderer used to style the track part.
ArcGIS Maps SDK for JavaScript
visible
System.Nullable<System.Boolean>
Indicates whether the renderer of the track part is visible.
default true
ArcGIS Maps SDK for JavaScript
Properties
TrackPartInfo.LabelingInfo Property
Defines labels for the track part as an array of
LabelClass.
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>? LabelingInfo { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<Label>
TrackPartInfo.LabelsVisible Property
Indicates whether to display labels for the track.
default true
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> LabelsVisible { get; set; }
Property Value
System.Nullable<System.Boolean>
TrackPartInfo.Renderer Property
The renderer used to style the track part.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Renderers.Renderer? Renderer { get; set; }
Property Value
Methods
TrackPartInfo.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
TrackPartInfo.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>>
TrackPartInfo.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>>
TrackPartInfo.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>
TrackPartInfo.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
TrackPartInfo.SetLabelingInfo(IReadOnlyList
Asynchronously set the value of the LabelingInfo property after render.
public System.Threading.Tasks.Task SetLabelingInfo(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.Label>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<Label>
The value to set.
Returns
TrackPartInfo.SetLabelsVisible(Nullable) Method
Asynchronously set the value of the LabelsVisible property after render.
public System.Threading.Tasks.Task SetLabelsVisible(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.
Returns
TrackPartInfo.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
TrackPartInfo.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()