问题
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