fix(rover): show building height tooltip in feet
This commit is contained in:
parent
b97af8a5ce
commit
5a4129ffca
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ export const RoverMap: Partial<RoverMapHook> = {
|
||||||
fillOpacity: 0.45,
|
fillOpacity: 0.45,
|
||||||
interactive: true
|
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)
|
.addTo(this.candidateBuildingsLayer)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue