export function normalizeDistance(distance) {
  if (distance < 1000) {
    return {
      value: distance,
      unit: '米'
    };
  }
  return {
    value: Number((distance / 1000).toFixed(1)),
    unit: '公里'
  };
}
//# sourceMappingURL=unit.js.map