| 86 | } |
| 87 | |
| 88 | double ToSpeedKmPH(double speed, Units units) |
| 89 | { |
| 90 | switch (units) |
| 91 | { |
| 92 | case Units::Imperial: return MiphToKmph(speed); |
| 93 | case Units::Metric: return speed; |
| 94 | } |
| 95 | UNREACHABLE(); |
| 96 | } |
| 97 | |
| 98 | std::string FormatLatLonAsDMSImpl(double value, char positive, char negative, int dac) |
| 99 | { |