Thanks in advance for your support! I’ve spent quite a lot of time in bubble, yet I feel like I’m making a simple error that I just can’t resolve.
I am creating a food marketplace similar to doordash, that I am launching in 3 days, but encountered a problem that I need to solve by using the Google Distance Matrix API.
I am trying to display “restaurants” in a repeating group. I only want to display “restaurants” that are within a certain driving distance to the customer’s delivery address (using the Google Distance Matrix Plugin).
To calculate the distance between 2 points using the plugin you simply choose: dynamic data - Google Matrix API - input origin address & destination address.
The problem arises when I try to set the constraints in the search for “restaurants”.
“Distance Max in km” is a value set by the restaurant to specify how far they want to deliver. So I set that to ≤ the calculated distance value.
When I try to calculate the distance from “customer’s address” (=SearchBox Address complete’s value) to “restaurants address”, I cannot find the dynamic data option for “restaurant’s address”.
Does somebody has an idea how to solve this - maybe a workaround - or maybe I am doing something wrong.
If someone can help me solve this it would save my day.
Thanks in advance for everyone who reads this & tries to help me.
Have a great day.