Class: FacilityAnalystStreamParameters

SuperMap.FacilityAnalystStreamParameters

The FacilityAnalystStreamParameters class.

new SuperMap.FacilityAnalystStreamParameters(options)

FacilityAnalystStreamParameters.js, line 4
Name Type Description
options Object

The parameters.

Name Type Default Description
sourceNodeIDs Array.<number>

The specified facility node ID array.

queryType number

Analysis type. It can only be 0 (upstream key facility query) or 1 (downstream key facility query).

edgeID number optional

The specified edgeID. edgeID and nodeID must be specified one.

nodeID number optional

The specified nodeID. edgeID and nodeID must be specified one.

isUncertainDirectionValid boolean false optional

Specifies whether the indeterminate flow direction is valid.

Members

edgeIDnumber

The specified edgeID. edgeID and nodeID must be specified one.

isUncertainDirectionValidboolean

Specifies whether the indeterminate flow direction is valid. Specifying true means that the indeterminate flow direction is valid, and the analysis continues when an uncertain flow direction is encountered; if it is false, it means that the indeterminate flow direction is invalid, and the unstable flow direction will stop searching in this direction.

nodeIDnumber

The specified nodeID. edgeID and nodeID must be specified one.

queryTypenumber

Analysis type. It can only be 0 (upstream key facility query) or 1 (downstream key facility query).

sourceNodeIDsArray.<number>

The specified facility node ID array.

Methods

destroy()

FacilityAnalystStreamParameters.js, line 53

Disposes the resource. The property that references resource is set to null.