如何匹配下一个最近的邮政编码

时间:2016-02-15 07:55:08

标签: php google-maps geolocation

我有商家和消费者的应用程序。登录消费者可以使用他们自己的(消费者邮政编码)邮政编码搜索商家。

匹配的商家(商家的邮政编码)与消费者的邮政编码显示在谷歌地图上。所以我在下面的任务中遇到了问题: -

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.

0 个答案:

没有答案