setIncidents

fun setIncidents(featureTable: ArcGISFeatureTable, queryParameters: QueryParameters)

Sets the incidents from the features in specified feature table. The feature table can be either local or online. The feature table must be of geometry type point. Attributes from the feature table are mapped to the properties on the incidents objects generated from the specified feature table. The where clause set in the query parameters will be applied to the feature table. If an online feature table is specified the table will not be queried for features until Solve is called. Sets incidents by importing them from local or remote table.

Since

200.1.0

Parameters

featureTable

The feature table.

queryParameters

The query parameters.

See also

FeatureTable

fun setIncidents(incidents: Iterable<Incident>)

Sets incidents. The set of incidents loaded as network locations during analysis.

Since

200.1.0

Parameters

incidents

A MutableList of Incident instances. Contents of the MutableList are copied.

See also