Stream
The Stream widget provides a way to display a stream layer with real-time data.
Configurable attributes
The following table describes the configurable attributes of the Stream widget.
Attribute | Description |
---|---|
streamLayers | Object array. The default is empty. The properties of the array item are as follows:
|
Example
{
"streamLayers": [
{
"layerId": "stream_2684",
"layerName": "Flights",
"startStop": true,
"clear": true,
"drawPrevious": true,
"spatialFilter": false,
"mapExtentFilter": false,
"drawExtentFilter": false,
"attrFilter": true,
"filterList": [
{
"name": "New Filter",
"filterInfo": {
"logicalOperator": "AND",
"parts": [
{
"fieldObj": {
"name": "AltitudeFeet",
"label": "AltitudeFeet",
"shortType": "number",
"type": "esriFieldTypeInteger"
},
"operator": "numberOperatorIsLessThan",
"valueObj": {
"isValid": true,
"type": "value",
"value": 1000
},
"interactiveObj": "",
"caseSensitive": false,
"expr": "AltitudeFeet < 1000"
},
{
"fieldObj": {
"name": "ACID",
"label": "ACID",
"shortType": "string",
"type": "esriFieldTypeString"
},
"operator": "stringOperatorIsNot",
"valueObj": {
"isValid": true,
"type": "value",
"value": "'a'"
},
"interactiveObj": "",
"caseSensitive": false,
"expr": "ACID <> '''a'''"
}
],
"expr": "(AltitudeFeet < 1000) AND (ACID <> '''a''')"
}
}
]
}
]
}