Hello again,

i have solve one problem. i save all steps in an array.
sorry for my hasty question. The solution is very easy:

GEvent.addListener(gdir, "load", function() {
      var steps = new Array();
      for(var i = 0; i < gdir.getNumRoutes(); i++)
      {
        var route = gdir.getRoute(i);   // GRoute obj
        for(var j = 0; j < route.getNumSteps(); j++){
          var step = route.getStep(j);    // GStep obj
          steps.push(step);
        }
      }
    });

Now i must only find out, how i send this information back. but i
think i will find this solution today.

Regards,
Stefan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to