With this plugin, you can enter a source address and a list of addresses.
Then, the plugin, through advanced programming logic combined with the Google API, will create the best route.
Example:
Origin Address: Manhattan, New York
Destinations:
Brooklyn, NY, USA
Staten Island, NY, USA
Queens, NY, USA
Bronx, NY, USA
When you trigger the "Find best route" action, you'll see the following in the "Optimized Addresses" field:
Manhattan, New York, NY, USA
Brooklyn, NY, USA
Queens, NY, USA
Bronx, NY, USA
Staten Island, NY, USA
In other words, it first reinserts the source address and then the list of addresses with the best route. In other words, after Manhattan, the closest address is Brooklyn, then Queens, then Bronx, and finally Staten Island.
If you want to confirm the test, go to Google Maps distance and test each address.
Note: To use this, you'll need your Google API key. You can get it in the Google Console (
https://console.cloud.google.com/). Remember to enable the following APIs there:
Distance Matrix API
Geocoding API
Directions API
Editor:
https://bubble.io/page?id=retornadado4&test_plugin=1752921676793x624751771120566300_current&tab=Design&name=address_router&type=page&type_id=roteirizadorDemo page:
https://retornadado4.bubbleapps.io/version-test/address_router?debug_mode=true