The slider provides a user interface for manually setting or animating changes to the current time extent of the GeoView
. More...
Since: | Esri.ArcGISRuntime 100.10 |
Properties
- controller : var
- endTimePinned : bool
- fullExtentLabelFormat : string
- geoView : var
- icon : icon
- labelMode : int
- labelSliderTickInterval : int
- playIcon : alias
- playbackInterval : int
- playbackLoop : bool
- playbackReverse : bool
- startTimePinned : bool
- stepBackIcon : icon
- stepForwardIcon : icon
- timeStepIntervalLabelFormat : var
Methods
- incrementFrame(count)
Detailed Description
A time slider can be bound to a geoView (MapView
or SceneView
) to allow filtering on temporal data. The time extents of all layers in the map or scene will be used to set up the slider with the full temporal range and the current time extent.
Property Documentation
controller : var |
The controller handles calculating steps and setting extents on the GeoView.
The CPP controller is documented here.
endTimePinned : bool |
Whether the end time of the time window can be manipulated.
The default is false
.
fullExtentLabelFormat : string |
The format for displaying Date values for the full time extent. - for example "yy/MM/dd".
The default is Qt.DefaultLocaleShortDate
.
See also Qt.formatDateTime.
geoView : var |
The GeoView for this tool. Should be a SceneView or a MapView.
icon : icon |
The icon for the play button.
labelMode : int |
Current option for applying labels to the Slider.
Valid options are:
Constant | Description |
---|---|
LabelMode.Node | No labels are applied. |
LabelMode.Thumbs | Labels are applied to the slider thumbs. |
LabelMode.Ticks | Labels are applied to the slider tick marks. |
The default is LabelMode.Thumbs
.
labelSliderTickInterval : int |
The interval at which slider ticks should be labeled.
The default is 20
.
playIcon : alias |
The icon for the play button.
playbackInterval : int |
The amount of time (in milliseconds) during playback that will elapse before the slider advances to the next time step.
The default is 500
.
playbackLoop : bool |
Whether to loop when the animation reaches the end of the slider.
The default is "true"
.
playbackReverse : bool |
Whether to reverse the animation direction when the animation reaches the end of the slider.
Note: This property has no effect if playbackLoop is false
. The default is false
.
startTimePinned : bool |
Whether the start time of the time window can be manipulated.
The default is false
.
stepBackIcon : icon |
The icon for the step-back button.
stepForwardIcon : icon |
The icon for the step-forward button.
timeStepIntervalLabelFormat : var |
The date format for displaying time step intervals, for example: "yy/MM/dd". The default is Qt.DefaultLocaleShortDate
.
See also Qt.formatDateTime.
Method Documentation
incrementFrame(count) |
Increments both handles by count.
Count may be negative to decrement the handles.