On Mar 1, 3:32 am, EwaP <[email protected]> wrote:
> > Where I geocode the addresses then pass the returned coordinates to
> > GDirections.
>
> >   -- Larry
>
> I did that and I even checked if getDir() function reads 'search1',
> 'search2' correctly and it does. I have no idea why but it still
> doesn't working.

No you didn't.  Right now you effectively haven't changed anything.
Your gdir.load does this:
gdir.load("from: Krakow, Lea to: Krakow, Pawia")

What I was suggesting was something like this (at least this is what
the page I gave you a link to does):
skoczDoAdresu(Krakow, Lea)
skoczDoAdresugeo.getLatLng(Krakow, Lea) returns (50.0721616,
19.9064517)
skoczDoAdresu(Krakow, Pawia)
skoczDoAdresugeo.getLatLng(Krakow, Pawia) returns (50.0684286,
19.9452276)
gdir.load(from: 50.0721616, 19.9064517 to: 50.0721616, 19.906451)

  -- Larry

-- 
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.

Reply via email to