> O1 : Get results based on queries 
> :http://maps.googleapis.com/maps/api/directions/xml?avoid=highways&ori...

This one has 'avoid highways'

> O2: Get result use function javascript v3:

This one does not have 'avoid highways'

> But result returned is different.

Yes.

If you want to use '21.00510,105.84321' as origin/destination in the
javascript version, it would be better to create LatLng objects and
pass those to the Directions request instead of strings

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to