Thanks , I'll try this out.. On Wed, May 4, 2011 at 3:04 PM, Andrew Leach <[email protected]>wrote:
> On May 2, 1:08 pm, meenvar <[email protected]> wrote: > > I need some help on google Map API to solve the below situation, Pl > > revert back if any of you have any knowledge of it. > > 1. I define a route(R-1) based on given start point/End point and I > > save this route. > > 2. Now, I want to search for another set of start/end point on R-1 > to > > check whether they lie on R-1 or not. > > 3. What are the different attributes on which search can be done? > > Could these be areas,address, name of the road, business > > places,milestones through which this route passes? > > In (2), if you are searching for points on R1 then you can be sure > that they lie on R1! > > However, if a route A to B passes through C, D and E in that order -- > that is, Google finds the route A-B goes A-C-D-E-B -- then you can be > reasonably sure that it has found the optimal route. So the route C-E > will also pass through D, and D-E will follow the same roads as that > part of the route A-B. > > The directions service uses the geocoder to find start and end points, > so you can use anything the geocoder recognises. That's generally > addresses and not businesses; in some countries milestones or > junctions might work. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API V2" 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. > > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
