I am wondering what the documentation of cumulativeCost() in GEE exactly means by "nearest source location".
cumulativeCost()