I have merchants and consumer's based application. Where the logged in Consumer can search the merchant with their own(Consumer's zip code) zip code.
The merchants those are matched (Zip code of merchant) with the zip code of consumer are displayed on google map. So I am having an issue on below task:-
If there are no merchants matching the consumer ZIP code, then the map should zoom out to show one level of zoom beyond the next nearest merchant.
I want to get the next nearest zip code from the list of merchants' zip code. Which already we have in our database.