On 3 April 2011 13:56, Skippy <[email protected]> wrote:
>
> i have managed to generate my first xml file with driving directions.
> http://maps.google.com/maps/api/directions/xml?origin=Bedburg-Hau&destination=Kleve&sensor=false
>
> Is there a simple way to show the driving route in text form on my
> site?

Yes. Don't generate XML. Use GDirections() within the API. If you
specify a <div> element for the text to go into then you don't need a
map.

That's exactly what the example page you quoted does. Change this
  directions = new GDirections(map, directionsPanel);
into
  directions = new GDirections(null, directionsPanel);

and you can remove the map div and the code which sets that up.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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