feat: style scale bar - style presets

This commit is contained in:
Azgaar 2023-12-03 16:06:46 +04:00
parent b9f3ff6da6
commit 3d7d6ba4f8
14 changed files with 50 additions and 47 deletions

View file

@ -1719,7 +1719,7 @@ function drawScaleBar(scaleBar, scaleLevel) {
const distanceScale = +distanceScaleInput.value;
const unit = distanceUnitInput.value;
const size = +scaleBar.attr("data-size");
const size = +scaleBar.attr("data-bar-size");
const length = (function () {
const init = 100;