Skip to content

Commit

Permalink
fix: fixed m² number
Browse files Browse the repository at this point in the history
  • Loading branch information
elraro committed Jan 4, 2024
1 parent fc82868 commit 53056ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class SegmentLabelMapStructure extends MapStructure {
}

if (scaleFactor >= 11) {
let metaString = (this.area).toFixed(0) + " m²";
let metaString = (this.area / 10 ).toFixed(0) + " m²";
metaString += ` (id=${this.id})`;

ctx.font = "35px sans-serif";
Expand Down

0 comments on commit 53056ad

Please sign in to comment.