I need to disp insert a map for each step.
My first iteration is to find all details for the step.
However following code is failing (using GLog to display the info).
for (i=0; i < tm_gdir.getNumRoutes(); i++) {
var myRoute = tm_gdir.getRoute(i);
var RouteSteps = myRoute.getNumSteps();
GLog.write ("Routesteps " + RouteSteps);
for (j=0; j< myRoute(i).getNumSteps()
; j++) {
GLog.write ("overview " +
myRoute(i).getStep(j).getDescriptionHtml() );
} // end for j (display steps)
GLog.write (" go and fetch next routte ");
} // end for i (display GRoute)
How can I decouple the map from the directions while still displaying
the result. ?
--
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.