useHierarchy property

bool useHierarchy

Use hierarchy.

Indicates whether the travel mode uses the network hierarchy in an analysis. Sets whether or not to solve using a hierarchy. A hierarchical solve tends to prefer higher-order streets such a freeways.

Implementation

bool get useHierarchy {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TravelMode_getUseHierarchy(
      _handle,
      errorHandler,
    );
  });
}
void useHierarchy=(bool value)

Implementation

set useHierarchy(bool value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_TravelMode_setUseHierarchy(
      _handle,
      value,
      errorHandler,
    );
  });
}