JMap.Map.setDistanceUnit
Set the distance unit, for the current project.
Save this preference in local storage.
the distance unit
if bad distance unit is provided, or no project is loaded
// Set the distance unit to "miles"JMap.Map.setDistanceUnit("miles") Copy
// Set the distance unit to "miles"JMap.Map.setDistanceUnit("miles")
JMap.Map.setDistanceUnit
Set the distance unit, for the current project.
Save this preference in local storage.