Ok. Use the command button to display the distance between two points and to display the total distance in a field. To me the total distance is used for another purpose and that I have to process it in another part of the code. Unfortunately, the contents of the field (I used a list, then a div ...) turns out to be empty by code, even if vision is to be with the decimal distance. I know that the function is asynchronous, but I could not find a sample code to call the function in order to have the "full" with the value of the distance. Could you help me please? I'm going crazy! David
-- 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.
