Interface ITimeController
The map clock over time-aware products (S-104 / S-111 / S-411). Backs the
set_time_step tool.
public interface ITimeController
Remarks
Time is expressed as UTC instants drawn from AvailableSteps — the distinct sample times registered across the loaded time-aware datasets. The tool resolves a requested step index or instant against that list before calling SetTimeAsync(DateTime, CancellationToken), which applies time gating and re-renders. A host with nothing time-aware loaded reports an empty AvailableSteps and a null Current.
Properties
AvailableSteps
The distinct, ascending time steps available across the loaded time-aware datasets. Empty when nothing time-aware is loaded.
IReadOnlyList<DateTime> AvailableSteps { get; }
Property Value
Current
The current map clock, or null when unset.
DateTime? Current { get; }
Property Value
Methods
SetTimeAsync(DateTime, CancellationToken)
Sets the map clock to time, applies time gating using
the current presentation, and re-renders.
Task SetTimeAsync(DateTime time, CancellationToken cancellationToken = default)
Parameters
timeDateTimeThe UTC instant to set. Callers normally pass a value drawn from AvailableSteps.
cancellationTokenCancellationTokenCancels the change.