I'm trying to develop a delivery system for a restaurant, but I'm not sure how to approach this problematic. The restaurant has multiple locations, exactly five, four of them are in one state and the other one is in a different one.
They only do deliveries for each location depending of how far is it, they also have setup certain limitations for each location for example:
My idea will be:
Fetch users location on iOS (Accomplished)
Check if user location is inside of any Restaurant delivery radio. If so, set that location as the Store, if not, just show message that we don't delivery to their area.
Where I'm stuck
How can I define in Apple Maps the limits of Location 1, 2, 3, etc (meaning what area will they be doing delivery to.