setStopsWithFeatureTable method

void setStopsWithFeatureTable(
  1. {required ArcGISFeatureTable featureTable,
  2. required QueryParameters queryParameters}
)

Sets the stops 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 stops 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 features will not be queried until Solve is called.

Parameters:

  • featureTable — The feature table.
  • queryParameters — The query parameters.

Implementation

void setStopsWithFeatureTable(
    {required ArcGISFeatureTable featureTable,
    required QueryParameters queryParameters}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_RouteParameters_setStopsWithFeatureTable(
        _handle, featureTable._handle, queryParameters._handle, errorHandler);
  });
}