I have a problem with my setDirections method.It cannot find input
address and not drawing path.I don't know what wrong I do .I write
this code from an example.Last week it hasn't problem with this method
but yesterday i found my program cannot work and  setDirections alway
show status error 400.   Anyone help me,please!  I must send my
project recently.Now I don't know how to slove this problem. T T
I'm not sure this problem corncern about String address  languages
because Input address is Thai  languages.

This is my code.

function setDirections(fromAddress, toAddress) {


    gdir.load("from:"+ fromAddress+ "  to:"+ toAddress,
{locale:"th"});
   }


//////////
<input type="button"  id="direction"  value="GetDirection"
onmousedown="setDirections
(this.form.fromAddress.value,this.form.toAddress.value);return
false"  />

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