Show scale bar for values <1m or <1ft

(closes #3567)
This commit is contained in:
Bryan Housel
2016-11-09 21:56:01 -05:00
parent b8be480267
commit 02850f3c60
+2
View File
@@ -28,6 +28,8 @@ export function uiScale(context) {
if (dist >= val) {
scale.dist = Math.floor(dist / val) * val;
break;
} else {
scale.dist = +dist.toFixed(2);
}
}