JMap.Map.getDistanceUnit
Get the map defined distance unit.
If no distance unit has been set by user, it returns the project distance unit, if no distance unit is set on the project, it returns "meters" by default.
if no project is loaded
// returns undefined if no distance unit, else the valueJMap.Map.getDistanceUnit() Copy
// returns undefined if no distance unit, else the valueJMap.Map.getDistanceUnit()
JMap.Map.getDistanceUnit
Get the map defined distance unit.
If no distance unit has been set by user, it returns the project distance unit, if no distance unit is set on the project, it returns "meters" by default.