Sunday, October 27, 2013

[Google Maps API v2] How I Implement Search By Distance?

I have a database of members of my website. I would like to implement a search so that members can find other members near themselves. Each member has entered a mailing address. How do I find all of the members who are within 5 miles of a specific address? Do I store lat and long in my db for all addresses when entered and then do some kind of math on the values to find the members whose lat/long put them all in the right circle?

Thanks

Josh

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate