5 ms·
To use different units, you can specify 'imperial' (default) for miles/feet or 'metric' for kilometers/meters. The wrapper fetches all of the data returned fro
by etcher 12y ago
To use different units, you can specify 'imperial' (default) for miles/feet or 'metric' for kilometers/meters.
The wrapper fetches all of the data returned from Google (except for the value fields): http://cl.ly/image/3M003N0s0z3q http://cl.ly/image/3M003N0s0z3q
It actually might be a good idea to fetch the value fields as well, since that would make conversion to other metrics easier. Thanks for the suggestion.
- konspence 12y agoI do think it would be valuable to fetch the value field, as then the user can format the text however they want - for example, I may want to say "96 minutes" instead of "1 hour 36 minutes". Additionally, it's much easier to compare two values (e.g. if one wanted to compare distances between X and Y versus X and Z).