timeExtent property

TimeExtent? timeExtent

The current TimeExtent of the GeoViewController.

The TimeExtent defines how time-enabled data is displayed in the GeoViewController. Participating layers filter their data to only show data within the time extent set on the GeoViewController (see TimeAware for details). The range of the time extent includes the start and end values. For example, a feature at 10/24/2016 would be included in a time extent defined as 10/24/2016 - 11/14/2016). Time filtering is not enabled until a non-null time extent is set on the GeoViewController. When the time extent is null on the GeoViewController, no time filtering is applied and all content is rendered.

Implementation

TimeExtent? get timeExtent {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeoView_getTimeExtent(_handle, errorHandler);
  });
  return TimeExtent._fromHandle(objectHandle);
}
void timeExtent=(TimeExtent? value)

Implementation

set timeExtent(TimeExtent? value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GeoView_setTimeExtent(
        _handle, value?._handle ?? ffi.nullptr, errorHandler);
  });
}