This searches along a route for post offices http://www.mapsinternational.co.uk/gmap/postoffices/postgres_routes.php (try 'ox2' and 'ox4' for start and end locations 'geocode') then 'buffer and get points'. uses a postgres database (with postgis) to take the google directions route and buffer's it by 3km to create a polygon (shown on the map) This polygon (buffer) is then 'intersected' with the post office points (this can be any points) then returns only the ones inside that and return as markers on the map and in the side bar.
Marcleo also has done similar projects - highly recommend http://gis5.com/pois_along_route/gm_pois_along_route.php http://maps.forum.nu/gm_texas.html Mapperz http://mapperz.blogspot.com/ On Jul 10, 10:12 pm, cyb3rghst <[email protected]> wrote: > I'm looking for a tutorial similar to Google's "Create a store > locator" (http://code.google.com/apis/maps/articles/phpsqlsearch.html) > but one that will plot points of interests near a route that has been > drawn from point A to B. > > I've seen messages with math formulas and suggestions, some complex > examples but nothing like a good basic example/tutorial. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
