getToCumulativeCost method

double getToCumulativeCost({
  1. required String attributeName,
})

Gets the cumulative cost for the end of polyline.

Returns the cumulative cost value of the path from the facility to the end of this polyline.

Parameters:

  • attributeName — The name of attribute.

Return Value: A value of cumulative cost.