I haven't dug around the code much but I assume this is using "As the Crow Flies" distances between points? I don't see any references to OSM or street network data.
See 10.4 c) iv) "No asset-tracking unless you have purchased the applicable Maps for Work license." https://developers.google.com/maps/terms#10-license-restrict...