---
title: distances
framework: mapkitjs
role: symbol
role_heading: Interface Property
path: mapkitjs/mapconstructoroptions/distances
---

# distances

The system of measurement that displays on the map.

## Declaration

```data
distances?: DistanceUnitSystem;
```

## Discussion

Discussion Sets the system of measurement for displaying map distances. See DistanceUnitSystem for accepted values. This property applies to the scale, if it displays. The default value is Adaptive, which means that the measurement system depends on the map’s set language. This property affects displayed distances only; it doesn’t affect data that returns from a service, such as Directions.
