---
title: distances
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/map/distances-data.property
---

# distances

The system of measurement that displays on the map.

## Declaration

```data
get distances(): DistanceUnitSystem;
set distances(distances: DistanceUnitSystem);
```

## Mentioned in

MapKit JS 5

## 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.

## Topics

### Distances

- [DistanceUnitSystem](mapkitjs/distanceunitsystem.md)

## See Also

### Configuring the map’s appearance

- [colorScheme](mapkitjs/map/colorscheme.md)
- [mapType](mapkitjs/map/maptype.md)
- [padding](mapkitjs/map/padding.md)
- [pointOfInterestFilter](mapkitjs/map/pointofinterestfilter.md)
- [showsPointsOfInterest](mapkitjs/map/showspointsofinterest.md)
- [showItems(items, options)](mapkitjs/map/showitems.md)
- [MapShowItemsOptions](mapkitjs/mapshowitemsoptions.md)
- [tintColor](mapkitjs/map/tintcolor.md)
