menduh / gmlibrary

Automatically exported from code.google.com/p/gmlibrary
0 stars 0 forks source link

StartLocation and EndLocation Returns the same co-ordinates(the End Co-ordinates) #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. A single Leg Directions result returns the same StartLocation and 
EndLocation TLatLng. 
2.
3.

What is the expected output? What do you see instead?

Different LatLng co-ordinates.
StartLocation and EndLocation LatLngs are the same.

What version of the product are you using? On what operating system?

1.1.0
Windows 7 Ultimate

Please provide any additional information below.
procedure ShowCoordinates;
var
  AStr, BStr: String;
begin
  with AGMDirection.DirectionsResult[0].Routes[0] do
  begin
   AStr:= AGMDirection.DirectionsResult[0].Routes[0].Leg[0].
     StartLocation.ToStr(17);
   BStr:= AGMDirection.DirectionsResult[0].Routes[0].Leg[0].
     EndLocation.ToStr(17);
   ShowMessage(AStr + #13#10 + BStr);
end;

Original issue reported on code.google.com by simon.d....@gmail.com on 11 Mar 2014 at 4:15

Attachments:

GoogleCodeExporter commented 8 years ago
Please, send mi a demo program to reproduce this error

Thanks

Original comment by cadet...@gmail.com on 11 Mar 2014 at 9:40