Closest of a list of addresses from a location

我是研究僧i 提交于 2019-12-23 02:43:09

问题


does anyone know how i can return a googlemap with pins for every location within a set radius. Don't necessarily need a specific distance from potential plotted route. I want the user to be able to specify their address (postcode) and a set distance (10,20,50 miles) and then i can show these results on a map. I have the list of postcodes, held in my database, do i need to generate something like a kml?

Cheers Tim


回答1:


This sounds like a classic Store Locator application, which is a bit complex to detail in an SE answer.

Google have an example documented, though.



来源:https://stackoverflow.com/questions/13451831/closest-of-a-list-of-addresses-from-a-location

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!