从数据库搜索半径 [英] Radius Search From Database

查看:179
本文介绍了从数据库搜索半径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个澳大利亚账户地址数据库。
我需要建立一个解决方案,用户可以选择一个邮政编码或郊区,谷歌地图查询数据库,从邮政编码/郊区找到半径50公里内的帐户,并在地图上显示每个帐户的标记这些边界。
有人可以帮我解决这个问题吗?

I have a database of addresses for Accounts in Australia. I need to build a solution whereby the user can select a postcode or suburb and Google Maps queries the database to find accounts within a radius of 50kms from the postcode / suburb and displays markers on the map for each account that falls within these boundries. Can somebody please help me with this?

谢谢,

Thanks,

推荐答案

请参阅文档的文章部分,其中有文章如何构建商店定位器,这应该是适用的(概念,如果不是代码)。

See the articles section of the documentation, there is an article how to build a store locator which should be applicable (the concepts if not the code).

这篇关于从数据库搜索半径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆