lejard-h / google_maps_webservice

BSD 3-Clause "New" or "Revised" License
168 stars 223 forks source link

Wrong TravelMode parsing when building url. #117

Open luis901101 opened 3 years ago

luis901101 commented 3 years ago

The TravelMode enum parses its values to upper case to be able to parse from json response, but the thing is that the 'mode' query param to be used in the url request must be lower case. Currently all requests whether GoogleMapsDirections or GoogleDistanceMatrix with a travel mode different than DRIVING is returning a response based in DRIVING travel mode which is Googles default.

luis901101 commented 3 years ago

A solution here PR-118

2013612 commented 3 years ago

I have seen several pull requests are opened several months before to solve this serious issue but not yet merged. May I know when would them be merged?

scorpionate commented 2 years ago

Anyone here? Facing same problem, #118 solves problem