I'm developing a website with PHP and MySQL where I register several stores, and each store serves a region of the city.
What would be the best strategy to adopt in this case, where I have CEP
of the customer and want to check which is the nearest store in the city that can serve the customer?
I thought about saving% - Lat
and Long
from the store, and defining a region that it serves with Google Maps, but how can I check after CEP
is within that area?