Hey, Perhaps I should have been more clear. The latitudes I'm pulling from a mySQL database. Then, PHP is echoing the variables. I'd like to filter out my results as soon as possible. Ideally I could use the Haversine formula to actually query only the qualifying latitudes and longitudes within a certain distance. I know javascript will have to manipulate the map, but that's not what I'm struggling with.
On Jul 30, 3:06 am, Rossko <[email protected]> wrote: > > I know I need to use the Haversine formula with distance and one lat > > and long point as input. However, I can't for the life of me > > understand it well enough to write it in PHP or MySql. > > http://www.google.co.uk/search?hl=en&q=haversine+php&meta=&aq=f&oq= > > http://www.google.co.uk/search?hl=en&q=haversine+javascript&btnG=Sear... > > I can't imagine why you'd need it in MySQL for setting a window zoom?? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
