Delivery zones/radius

Quick question as a Wappler Newbie :wave:

How would I go about setting up a tool that would calculate if a user’s address is within a set radius? For example, on an ecommerce admin panel, the store owner would set up a maximum delivery radius which would save the value to a database field.

Once a user goes to checkout, I would need the site to perform a check to see if their address is within the preset delivery radius. If not then the user wouldn’t be able to checkout and pay.

Would it be possible to integrate Google Maps so that the store owner/admin could draw a delivery radius a bit like the image below or would they just have to work with latitude and longitude/distance from co-ordinates?

Thanks!

Community Page
Last updated: