Contents

distances

The system of measurement that displays on the map.

Declaration

distances?: Distance;

Discussion

Sets the system of measurement for displaying map distances. See Distance 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.