Closed Kodextor closed 10 years ago
Good call, will merge.
Implements #35
@Kodextor I think this is a very good point, but the direction API and implementation has now changed: https://github.com/moshen/node-googlemaps/blob/master/lib/googlemaps.js#L148
Could you rebase your fork in top of master and resubmit it please? I will merge your code
This supports mode:UPPERCASE('WALKING',etc.) & mode:LOWERCASE('walking',etc.). Earlier, it was just supporting LOWERCASE('walking','bicycling',etc). I think this is necessary as it gives the developer a little bit of freedom and reduces confusion for starters(like me.. ) :)
Case: Use(argument)->Result(In the JSONresponse) mode = 'WALKING'->"travel_mode":"DRIVING" mode = 'walking'->"travel_mode":"WALKING"