The Utlity library, has 'RouteBoxer' which generates bounding boxes, for use with searching along the route. That might be useful if you have a database of locations you want to check against. http://code.google.com/p/google-maps-utility-library-v3/wiki/Libraries
Alternativly the Google Places API might help http://code.google.com/apis/maps/documentation/places/#PlaceSearches You can specify types of things you want. can use a technique similar to GetPointsAtDistance from epoly http://econym.org.uk/gmap/epoly.htm (I dont know if anyone has ported it to v3 or made something similar already) to get points along the route to run place searches. On 13 May 2011 15:57, Yair G <[email protected]> wrote: > I would like to get a list of all cities I *might* pass on my way > between point A and point B > > Input: > point A as origin > point B as destination > > Output: > Route between point A and point B (that's obvious) > AND > list of cities / towns / places that are closer than X miles to my > route. > > I would like to present the user a list of possible waypoints to > consider (points of interest, historic sites, parks, etc) > > Any ideas how to do that? > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" 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-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
