dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
TimeInfo Class
Time info represents the temporal data of a time-aware layer.
ArcGIS Maps SDK for JavaScript
public class TimeInfo : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 TimeInfo
Constructors
TimeInfo() Constructor
Parameterless constructor for use as a Razor Component.
public TimeInfo();
TimeInfo(string, string, TimeExtent, TimeInterval, IReadOnlyList, string, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public TimeInfo(string? startField=null, string? endField=null, dymaptic.GeoBlazor.Core.Components.TimeExtent? fullTimeExtent=null, dymaptic.GeoBlazor.Core.Components.TimeInterval? interval=null, System.Collections.Generic.IReadOnlyList<System.DateTime>? stops=null, string? timeZone=null, string? trackIdField=null);
Parameters
startField
System.String
The name of the field containing the start time information.
ArcGIS Maps SDK for JavaScript
endField
System.String
The name of the field containing the end time information.
ArcGIS Maps SDK for JavaScript
fullTimeExtent
TimeExtent
The time extent defines the start time and end time for all data in the layer.
default null
ArcGIS Maps SDK for JavaScript
interval
TimeInterval
The time interval defines the granularity of the temporal data and allows you to
visualize the data at specified intervals using the time slider widget.
ArcGIS Maps SDK for JavaScript
stops
System.Collections.Generic.IReadOnlyList<System.DateTime>
Indicates the time instants that the layer has data for.
default null
ArcGIS Maps SDK for JavaScript
timeZone
System.String
The IANA time zone that dates are stored in.
default null
ArcGIS Maps SDK for JavaScript
trackIdField
System.String
The name of the field used to join or group discrete locations.
ArcGIS Maps SDK for JavaScript
Properties
TimeInfo.EndField Property
The name of the field containing the end time information.
ArcGIS Maps SDK for JavaScript
public string? EndField { get; set; }
Property Value
TimeInfo.FullTimeExtent Property
The time extent defines the start time and end time for all data in the layer.
default null
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.TimeExtent? FullTimeExtent { get; set; }
Property Value
TimeInfo.Interval Property
The time interval defines the granularity of the temporal data and allows you to
visualize the data at specified intervals using the time slider widget.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.TimeInterval? Interval { get; set; }
Property Value
TimeInfo.StartField Property
The name of the field containing the start time information.
ArcGIS Maps SDK for JavaScript
public string? StartField { get; set; }
Property Value
TimeInfo.Stops Property
Indicates the time instants that the layer has data for.
default null
ArcGIS Maps SDK for JavaScript
public System.Collections.Generic.IReadOnlyList<System.DateTime>? Stops { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.DateTime>
TimeInfo.TimeZone Property
The IANA time zone that dates are stored in.
default null
ArcGIS Maps SDK for JavaScript
public string? TimeZone { get; set; }
Property Value
TimeInfo.TrackIdField Property
The name of the field used to join or group discrete locations.
ArcGIS Maps SDK for JavaScript
public string? TrackIdField { get; set; }
Property Value
Methods
TimeInfo.AddToStops(DateTime[]) Method
Asynchronously adds elements to the Stops property.
public System.Threading.Tasks.Task AddToStops(params System.DateTime[] values);
Parameters
values
System.DateTime[]
The elements to add.
Returns
TimeInfo.GetEndField() Method
Asynchronously retrieve the current value of the EndField property.
public System.Threading.Tasks.Task<string?> GetEndField();
Returns
System.Threading.Tasks.Task<System.String>
TimeInfo.GetFullTimeExtent() Method
Asynchronously retrieve the current value of the FullTimeExtent property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.TimeExtent?> GetFullTimeExtent();
Returns
System.Threading.Tasks.Task<TimeExtent>
TimeInfo.GetInterval() Method
Asynchronously retrieve the current value of the Interval property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.TimeInterval?> GetInterval();
Returns
System.Threading.Tasks.Task<TimeInterval>
TimeInfo.GetStartField() Method
Asynchronously retrieve the current value of the StartField property.
public System.Threading.Tasks.Task<string?> GetStartField();
Returns
System.Threading.Tasks.Task<System.String>
TimeInfo.GetStops() Method
Asynchronously retrieve the current value of the Stops property.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.DateTime>?> GetStops();
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.DateTime>>
TimeInfo.GetTimeZone() Method
Asynchronously retrieve the current value of the TimeZone property.
public System.Threading.Tasks.Task<string?> GetTimeZone();
Returns
System.Threading.Tasks.Task<System.String>
TimeInfo.GetTrackIdField() Method
Asynchronously retrieve the current value of the TrackIdField property.
public System.Threading.Tasks.Task<string?> GetTrackIdField();
Returns
System.Threading.Tasks.Task<System.String>
TimeInfo.RemoveFromStops(DateTime[]) Method
Asynchronously remove an element from the Stops property.
public System.Threading.Tasks.Task RemoveFromStops(params System.DateTime[] values);
Parameters
values
System.DateTime[]
The elements to remove.
Returns
TimeInfo.SetEndField(string) Method
Asynchronously set the value of the EndField property after render.
public System.Threading.Tasks.Task SetEndField(string? value);
Parameters
value
System.String
The value to set.
Returns
TimeInfo.SetFullTimeExtent(TimeExtent) Method
Asynchronously set the value of the FullTimeExtent property after render.
public System.Threading.Tasks.Task SetFullTimeExtent(dymaptic.GeoBlazor.Core.Components.TimeExtent? value);
Parameters
value
TimeExtent
The value to set.
Returns
TimeInfo.SetInterval(TimeInterval) Method
Asynchronously set the value of the Interval property after render.
public System.Threading.Tasks.Task SetInterval(dymaptic.GeoBlazor.Core.Components.TimeInterval? value);
Parameters
value
TimeInterval
The value to set.
Returns
TimeInfo.SetStartField(string) Method
Asynchronously set the value of the StartField property after render.
public System.Threading.Tasks.Task SetStartField(string? value);
Parameters
value
System.String
The value to set.
Returns
TimeInfo.SetStops(IReadOnlyList) Method
Asynchronously set the value of the Stops property after render.
public System.Threading.Tasks.Task SetStops(System.Collections.Generic.IReadOnlyList<System.DateTime>? value);
Parameters
value
System.Collections.Generic.IReadOnlyList<System.DateTime>
The value to set.
Returns
TimeInfo.SetTimeZone(string) Method
Asynchronously set the value of the TimeZone property after render.
public System.Threading.Tasks.Task SetTimeZone(string? value);
Parameters
value
System.String
The value to set.
Returns
TimeInfo.SetTrackIdField(string) Method
Asynchronously set the value of the TrackIdField property after render.
public System.Threading.Tasks.Task SetTrackIdField(string? value);
Parameters
value
System.String
The value to set.
Returns
TimeInfo.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()