PDA

View Full Version : Save itinerary of the directionsPane in a file



kemanke
11-14-2008, 03:05 AM
Hi all!

Is it possible to save what we have in the directions pane after calculating new route (save the itinerary) in a file ?

Is there a function to do it or do i have to program it?

Thanks in advance.

Kemanke

Auge_Ohr
11-14-2008, 04:00 AM
hi,


Is it possible to save what we have in the directions pane after calculating new route (save the itinerary) in a file ?

Is there a function to do it or do i have to program it?

what Format do you want to save it ?
does SaveAs Methode with geoFormatHTMLDirections help ?

kemanke
11-14-2008, 04:56 AM
Hi thanks for the help!

Text format could be great for me, any idea?

Thanks again

Kemanke

Jarmin
11-14-2008, 08:26 AM
2nd Solution, if you want to programm:
After calculating a route you have the directions in [route].Directions. With [route].Directions.ToString() you can get the Directions in an simple string.
With any FileWriter (depends on your language) you can easy create a .txt file and put the string into it.

kemanke
11-14-2008, 10:54 AM
Thank you very much for all.


Kemanke