Here is a discussion of one way to accumulate some of the location/distance information you might need to build your app Social Distancing ... a CloudDB / Location Marker Tutorial
Use Tim's advice and use the tools in the Social Distancing app for parts of your app. Everyone who would use your service would need a copy of your app. As Tim mentions, you probably will want an ability to turn off some features for the users and allow only some features for signed in drivers.
Good luck.