The function I use at the click of a button:
getDrivingTime function (Start, End, responseHandler) {
....
directionsService.route (request, function (response, status) {
.......
});
}
and when I change the way the recall:
getDrivingTime (Start, End, function (time) {
time = time/100;
document.getElementById ("Listbox4). add (new Option (time, j));
});
where Listbox4 is a listbox but when I elaborate on another part of
the code appears to be empty, while visible in the window there!
I think as the callback function is called in!
Again, I'm going crazy ...
--
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.