Certainly. I'm sure it isn't complicated, but for a novice, an example would have spoken volumes.
Just saying : **getDistance() **Object **Returns an object literal representing the total distance of the **directions request (across all routes). The object contains two **fields: a number called "meters" indicating the numeric value **of the distance (in meters), and a string called "html" **containing a localized string representation of the **distance in the units that are predominant in the starting country of this set of directions. Dosn't really explain the syntax needed to construct it. Is it : getDistance(point1,point2) or point1.getDistance(point2) or something else.... Do you see what i mean. With other software (Like VB) your given a referance AND an example of code that it appears in. I know that this is a small thing, but for novice's like me, not being able to find how it should work can slow things down considerably. On Sep 17, 2:10 pm, Rossko <[email protected]> wrote: > > I have tried using "getdistance" but I don't understand the API > > documentation for it. > > http://code.google.com/apis/maps/documentation/reference.html#GPolyli... > > It doesn't seem very complicated. Can you explain what you didn't > understand, in case it can be made clearer to help others? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
