On May 9, 9:02 pm, kp chong <[email protected]> wrote: > Thanks Rossko, > > i have do some read up. This means that in order to get the > destination we will need to provide the route as well am i right?
What is your goal? If you want to display a route on a map using geographic coordinates as start and end points, the GDirections will do that for you and provide the total distance: http://code.google.com/apis/maps/documentation/javascript/v2/services.html#Directions -- Larry > is there a default route of it? because i have a requirement that > the route can be dynamic and the system will not know which route > should select, there is not user interaction here. > > On May 9, 9:44 pm, Rossko <[email protected]> wrote: > > > > > > > > > > Can anyone give some pointer is it possible to build a function with > > > the requirement that stated base on the subject above? > > > "Provide destination lat and long to get the distance" ? > > You'll need to know the starting point as well. > > > Google's Directions service does provide distance information, and is > > accessible from methods in the Maps APIs, you will find that in the > > maps documentation.http://code.google.com/apis/maps/index.html > > > Check the terms of use, you may not use the service except in > > conjunction with a Google map -- 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.
