Uber for motocycle

I’m creating something like uber, but I got to a part where I don’t know how to proceed, what I want to do is show the notification only to the closest drivers and not to everyone. What are the ways to do this?

I am new as well, but if you go over the training that shows how to make an uber clone I believe you will find what you are looking for over there.

Esta dizendo esse link? https://bubble.io/blog/build-uber-clone-no-code/

when you do a search for a thing in the constraints there is a choice for ‘is within’ for constraining using a geographic address

Screen Shot 2020-09-11 at 1.17.15 AM

So when a new ride is created, it should in the database have a geographic address for its location…then you do a search for drivers whose current location is within a certain distance of the new ride…you’ll need to keep track of all your drivers current locations, so you would need a geographic address as a data field in the driver data type you might label “current location”…you’d have to find a way to update this every x seconds or minutes, however often you are comfortable with paying google for the service of geo-positioning…

not sure if there is another way to track drivers, but you could check out the leafy plugin which is the best plugin for those who need mapping services but don’t want to go belly up paying google

This topic was automatically closed after 70 days. New replies are no longer allowed.