DistanceUnitSystem
Constants that indicate the system of measurement that displays on the map.
Declaration
const DistanceUnitSystem: Readonly<{
readonly Adaptive: "adaptive";
readonly Metric: "metric";
readonly Imperial: "imperial";
}>
type DistanceUnitSystem =
(typeof DistanceUnitSystem)[keyof typeof DistanceUnitSystem];Overview
Use these constants with the map’s distances property.