Directions from xml file

167 Views Asked by At

I know you can set a direction, modify with drag-n-drop and then save the result as an xml file. Is there a way to load this xml again to be shown on the map? I tried something like:

DirectionsResult := TDirectionsResult.Create(GMDirection, 1);
DirectionsResult.XMLData.LoadFromFile('results.xml');
GMDirectionRota.Execute;

Any Ideia?

1

There are 1 best solutions below

1
On

There is limitation to calculate the direction ?

I added more than 10 point stop and not display anything on the map.

Marcio