1
I am developing a site with PHP and Mysql where 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 the CEP
of the customer and want to check which is the nearest store in the city that will be able to serve the customer?
I thought I’d save the - Lat
and Long
of the store, and define a region to which it meets with Google Maps, but how can I check later if the CEP
is within that area?