fix(rover): show building height tooltip in feet

This commit is contained in:
Graham McIntire 2026-04-26 11:48:15 -05:00
parent b97af8a5ce
commit 5a4129ffca
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -317,7 +317,7 @@ export const RoverMap: Partial<RoverMapHook> = {
fillOpacity: 0.45,
interactive: true
})
.bindTooltip(`${Math.round(b.height_m)} m`, { direction: "top", offset: [0, -4] })
.bindTooltip(`${Math.round(b.height_m * 3.28084)} ft`, { direction: "top", offset: [0, -4] })
.addTo(this.candidateBuildingsLayer)
}
})