Hi Gautam, Can you please share your findings? I have a similar requirement. I have a group of points (LAT/LON). When user selects a route (it can be any route), I need to show the points from my group if they lie in the requested route. Also how can we do it with a better performance? I think, once the user searches for a route, find the max and min LAT/LON, and get the points from my group. But still how to find out whether a point lies in route?
Thanks Winster On Tuesday, 29 November 2011 02:12:56 UTC+5:30, Gautam Thakur wrote: > > Thanks It worked. I also did the same after trying other things. got > the route and all the coordinates of polyline. then just used the > distance between two points function to get the minimal with a > threshold set. > > On Nov 28, 1:13 pm, yip cto <cto...@googlemail.com> wrote: > > On 27 Nov., 23:22, Gautam Thakur <gautam.c...@gmail.com> wrote: > > > > > Hi there, > > > > > I have a set of latitude and longitude and I want to know if between > > > two end points, are there any of the other locationlie? Is it > > > possible to perform this using some google maps api to check for > > > location enroute ? > > > > You can use the directions service to generate arouteand then check > > the returned polyline coordinates. May be this solves your problem. No > > garantuee :-) > > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/NnNgfPEySkQJ. To post to this group, send email to google-maps-api@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.