Contents

distances

The system of measurement that displays on the map.

Declaration

get distances(): Distance;
set distances(distances: Distance);

Mentioned in

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.

Topics

Distances

See Also

Configuring the map’s appearance