onDistanceToolClosed
onDistanceToolClosed()
This callback function is called when the Distance tool is closed.