šŸ†• Introducing the new Explorer plan for $25/mo

I somewhat agree with the petition: we need a Maker plan with APIs. You can’t create good apps that aren’t connected. They could create a new plan that includes the benefits of Maker and the use of APIs; that would be great. I hope more people join this petition.

1 Like

I totally agreed that Maker plan can help this. Anyway, if I would like to calculate the distance from any new customer locations to current location of taxi drivers. How to handle this?
I tried to use single value from new customer location to driver location to calculate the distant. But there are so many new customers coming. How to solve this?

If you use Radar’s ā€œTrack onceā€, how do you store the live location of each driver (I assume it only writes the location once), to be able to do the distance calculation thing?

I can put only the current location in user table by push current location button. Are there any better solutions?
I would like to get the lastest location when they deliver customer and get that location data back.

So every time a driver delivers, you can have a button to trigger writing the location through Radar to a field in the Users table for drivers, let’s call it ā€œLast coordinatesā€.

Assuming you store users in the same table, you can have a distance column, from the user’s location to that ā€œLast coordinatesā€. Does it work?

To get the lastest location is ok. But I face bigger problem from calculating bulk of new coming customers simulateously. How to solve this problem?

The distance column would only calculate based on the signed-in user’s location, so that information lives on the user’s device. You don’t need to worry about multiple users calculating at the same time.

Awesome. Thank you.

1 Like