http://code.google.com/apis/maps/documentation/reference.html#GLatLng
If setDirections('43.143009,10.85731','45.143009,11.85731', "en_US")
works then you would do
setDirections('the_start.lat(),the_start.lng()','the_end.lat(),the_end.lng()',
"en_US") I would imagine.
On Oct 12, 8:16 pm, ashore <[EMAIL PROTECTED]> wrote:
> From an earlier post this topic, this works: (thanks, Alexandru)
>
> setDirections('43.143009,10.85731','45.143009,11.85731', "en_US")
>
> This doesn't: (it fails with a 292)
>
> var the_start = new GLatLng(43.143009,10.85731);
> var the_end = new GLatLng(45.143009,11.85731);
> setDirections(the_start, the_end, "en_US");
>
> I expect it's a syntax pblm and not the API, but any help is
> appreciated.
>
> (Forgive the code vs a url, but this shd be trivial for someone who
> knows the syntax.)
>
> AS
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---