Reputation: 165
i have read about google distance matrix and output to json or xml http://maps.googleapis.com/maps/api/distancematrix/output?parameters
this is the original link from google http://maps.googleapis.com/maps/api/distancematrix/xml?origins=Vancouver+BC|Seattle&destinations=San+Francisco|Vancouver+BC&mode=bicycling&language=fr-FR&key=
my database have only coordinates so i try this one bellow with only coordinates but i get error INVALID_REQUEST
http://maps.googleapis.com/maps/api/distancematrix/xml?origins=38.078459,23.734718|38.078833,23.736843&mode=bicycling&language=el&key=
anyone can help on this?
Upvotes: 2
Views: 2989
Reputation: 161334
There is no destination parameter in the "INVALID REQUEST". If I add arbitrary destination coordinates I get a response (albeit ZERO_RESULTS):
Upvotes: 1