Thank you Martin!
So I ask again my first question:
Why the .getDirectionsRoute() call from an instance of MapTrajet remains
empty after a .calcRoute () ?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group,
Thank you so much! :-)
I still don't understand why you wrote that *"my function returns
immediately after issuing the request"* because the callback function is as
any callback function execute AFTER the request.. And the value returned
shouldn't be null when OK status..
Can you tell me more
Thank you for your answer Rossko!
But can you tell me more about the 'OK' DirectionStatus from the callback
function?
--
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 google-maps-js-api-v3@g
Hello everyone,
I'm trying to get the first route from a DirectionRequest. (See the code
below)
The .getDirectionsRoute() call from an instance of MapTrajet remains empty
after a .calcRoute ()
Any idea?
Thank you
My custom "class":
function MapTrajet(div, adresseDestination) {
.