I've been looking over the fabulous set of demos from Marcelo Montagna that I picked up on from Twitter today (http://gis5.com/ pois_along_route/gm_pois_along_route.php). I finally am getting the hang of putting together a query string from the map corners. One of his looks like this:
var url = 'server_dc.php?lat1=' + lat1 + '&lon1=' + lon1 + '&lat2=' + lat2 + '&lon2=' + lon2 + '&zoom=' + zoom; What I can't seem to connect the dots on is the MySQL query that returns the points/markers. Assuming I store my info with standard lat/lng points, can somebody nudge me on how I'd use the SW and NE coordinates to form the MySQL query? My current project: http://www.pleasantweather.com/wx3/severe_wx_reports.php. Sometimes I'll get 400 or more points back from across the US and that bogs down the loading. I'm looking to return points and stats based only on the visible area of the map. Thanks for your help. aj --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
